Introduction

The essential of nanotechnology is to synthesize dispersed nanoparticles for potential applications in optics, biomedical sciences, drug delivery, catalysis and electronics. In the past, number of methods such as chemical [14], photochemical [58] and thermal [9, 10] have been developed to synthesize metallic nanoparticles. Recently an efficient method for fabrication of metallic nanoparticles from metallomicelles is reported [11]. Among these methods, photochemical method has gained considerable attention due to its convenience, but it employs toxic chemicals as reducing and stabilizing agent [12]. To avoid the utilization of highly toxic chemicals, the use of microorganisms and plant parts for nanoparticles synthesis has been explored [13]. Previous reports mention the use of microorganisms such as Alternaria alternate [14], and Amylomyces rouxii [15] for the synthesis of nanoparticles. Recently, several plants extracts such as Annona squamosa [16], Arbutus unedo [17], Cassia angustifolia [18] and many others [1927] have been used to synthesize silver (Ag) and gold (Au) nanoparticles (NPs). However, these natural sources, which have active ingredients, produce nanoparticles at slower rate. To overcome this, photo-assisted biosynthesis of Ag and AuNPs using many plants has been qualitatively investigated [28]. The sunlight irradiation technique has been formerly reported for the synthesis of nanoparticles using few plant materials such as Allium sativum [29], Andrachnea chordifolia [30], Piper betle [31], Bacillus amyloliquefaciens [32] and Achyranthus aspera [33]. Apart from plant materials, dendrimers and starch are also used as reducing/stabilizing agents in the sunlight-induced synthesis of nanoparticles [34, 35]. The nanoparticles produced by bio route have good stability due to the presence of capping agents like alkaloids, flavonoids and polyphenols, which are the major constituents present in the natural sources.

The localized surface plasmon resonance (LSPR) of noble metal nanoparticles makes them suitable for various applications. The surface plasmons live for few femto/picoseconds producing a shower of energetic electrons and holes and then dephase. By fabricating appropriately nanostructured materials that allow a reasonable fraction of these hot carriers to be harvested before they thermalize, the hot electrons can be transferred to appropriate catalyst systems and the material can be used to carry out light-enabled redox chemistry. Recently biosynthesized NPs have been reported to degrade organic dyes [3642].

Hydrocotyle asiatica (Fig. 1) known as Centella asiatica, is a creeping perennial herbal plant with kidney-shaped leaves, found in India, Sri Lanka, Madagascar, South Africa, Australia, China, and Japan. H. asiatica is reported to contain triterpene acids (asiatic, madecassic acid, etc.), volatile and fatty oil (glycerides of palmitic acid, stearic, lignoceric, oleic, linoleic and linolenic acids), alkaloids (hydrocotylin), flavonoids (3-glucosylquercetin, 3-glucosylkaempferol and 7-glucosylkaempferol) and glycosides (asiaticoside A, asiaticoside B, madecassoside, etc.) [43]. The herb is well known for its high medicinal values; its antioxidant activity [44] and non-toxicity motivated us to carry out the present investigation.

Fig. 1
figure 1

Hydrocotyle asiatica leaves

Dyes are synthetic organic compounds released as effluent by many industries producing paper, plastic, leather, food, cosmetic, textile and medicine. The use of synthetic complex organic dyes as coloring materials in textile industries has increased significantly. Dyes in general, azo dyes in particular are carcinogenic, affecting reproductive organs and develop toxicity and neurotoxicity. Therefore, the dyes are to be necessarily removed from industrial effluent before discharging into the natural sources. The dye effluents are highly resistant to microorganisms so that their reduction using conventional biological treatment is generally ineffective and also resistant to destruction by physical–chemical treatments in a high effluent concentration. Methylene Blue (MB) is one of the phenothiazine cationic dyes, used in coloring paper, dyeing cottons, wools and so on. It makes very harmful impacts on living things causing difficulties in breathing, vomiting, diarrhea and nausea [45]. Malachite Green (MG), a triphenylmethane dye is extensively used in the leather, paper, silk, cotton, and jute dyeing processes and also used as biocide in the global aquaculture industry treating protozoal and fungal infections.

figure b

MG and its metabolites are known to cause mutagenic, carcinogenic, and teratogenic effects to living organisms [46]. Nanotechnology has been extended to the wastewater treatments in the recent years and due to high surface area, AgNPs exhibits an enhanced reactivity [47].

The present study deals with the biosynthesis of Ag and AuNPs in milligram quantities using abundantly available H. asiatica as a reducing and stabilizing agent. The kinetics of formation of Ag and AuNPs has been studied using Ultraviolet–Visible spectroscopy (UV–Vis) and the biosynthesized nanoparticles has been characterized using Transmission Electron Microscopy (TEM), Energy Dispersive X-ray Analysis (EDAX), X-ray Diffraction (XRD), Dynamic Light Scattering (DLS), Zetasizer and Fourier Transform Infra Red (FTIR) spectrometry. The potential applications of Ag and AuNPs as a catalyst for the photo degradation of two different cationic dyes, and as antibiotics have also been studied.

Materials and methods

Preparation of plant extract

The leaves of H. asiatica were collected from Eral, Tuticorin, Tamil Nadu, India. The plant was identified with the help of local flora and authenticated by botanical survey of India, Southern Circle, Coimbatore, Tamil Nadu, India. About 5 g of fresh leaves were washed thoroughly with tap water and finally with double distilled water and then cut into small pieces. These finely cut leaves were then boiled in 100 mL double distilled water in a 250 mL Erlenmeyer flask for a period of 5 min. After getting it cool, it was filtered through Whatman No. 41 filter paper. This clear filtrate was used for the synthesis of nanoparticles.

Biosynthesis of AgNPs

To make AgNPs, 5 mL of clear aqueous extract of H. asiatica was added to 10 mL of 10 mM AgNO3 (Spectrochem, Mumbai, India, AR Grade) and 85 mL of double distilled water so as to make the final concentration to 1 mM. The solution mixture was then exposed to bright sunlight. The formation of AgNPs was observed by the appearance of yellowish brown color in 5 s and the periodic sampling was carried out to monitor the kinetics using UV–Vis. spectrophotometer. 1 mL of the aliquot was withdrawn from the reaction mixture and diluted to 10 mL with double distilled water before measuring the absorbance.

Biosynthesis of AuNPs

The aqueous extract of H. asiatica (2.0 mL) was added to 4.0 mL of 1 mM HAuCl4.3H2O (Sigma-Aldrich, USA, 99.9 % purity) and the solution mixture was then exposed to bright sunlight. The formation of AuNPs was observed by the appearance of pinkish purple color in 45 s. The periodic sampling was carried out to monitor the kinetics of formation of AuNPs. For the UV–Vis spectral analysis, 1 mL of the aliquot was withdrawn from the reaction mixture and diluted to 5 mL with double distilled water.

Analysis of photo-bio reduced Ag and AuNPs

The UV–Vis spectral analysis was performed on a JASCO, V-530 spectrophotometer. FT-IR spectra for the dry powder (obtained by evaporation of leaves extract) and nanoparticles were recorded in the range of 4000–400 cm−1 with Thermoscientific, Nicolet iS5 spectrometer. TEM analysis was done on a PHILIPS, CM 200 instrument operated at 200 kV, resolution 2.4 Å. XRD measurements were carried out using a Panalytical X’Pert Powder X’Celerator Diffractometer, with CuKα monochromatic filter. EDX (JEOL Model JED-2300) analysis was used for identifying the elemental composition of Ag and AuNPs. Electrokinetic property (zeta potential) of NPs was evaluated using Zetasizer 1000 HS (Malvern Instruments, UK) at Defence Food Research Laboratory (DFRL), Mysore.

Assessment of antimicrobial activity

For antimicrobial study, 50 mL of as-prepared colloidal suspension of nanoparticles was centrifuged at 13,000 rpm for 15 min and the nanoparticles were dispersed in 1 mL double distilled water and used. Antimicrobial activity of the synthesized Ag and AuNPs was determined using the disc diffusion assay method on pathogenic strains of Salmonella paratyphi, Pseudomonas aeruginosa, Streptococcus pyogenes and Streptococcus faecalis. The test microbial suspensions were spread on Petri dishes and freshly prepared Ag and AuNPs samples were introduced. The control samples lacking the precursor were used to assess the antimicrobial activity of the extract. The samples were initially incubated for 15 min at 4 °C (to allow diffusion) and later on at 37 °C for 24 h for the culture. Positive test results were scored when a zone of inhibition was observed around the well after the incubation period. The diameter of zones of inhibition was measured using a meter ruler, and the mean value for each organism was recorded and expressed in millimeter.

Evaluation of photo degradation of cationic dyes by AgNPs

To prepare the AgNPs in solid form, the colloidal solution was centrifuged at 13,000 rpm for 15 min and the pellet was washed with double distilled water to remove the excess biomolecules that were not capped and the washings were repeated for three times. The samples were dried at 60 °C, grounded and used for the degradation studies. 10 mg of AgNPs was added to 100 mL solution of 1 × 10−5 M methylene blue trihydrate (EMerck, Germany, Microscopy Grade) or malachite green oxalate (Spectrochem, Mumbai, Microscopy Grade) and the beaker was then exposed to sunlight with constant stirring using magnetic stirrer. To monitor the reaction, aliquots were withdrawn at predetermined time period and the suspension was centrifuged and the absorbance of the supernatant was subsequently measured using UV–Vis spectrophotometer.

Results and discussion

UV–Vis spectra of AgNPs

AgNPs are formed by the sunlight-induced reduction of Ag+ ions by the addition of leaf extract. The colorless solution turned reddish brown, in 5 s of exposure to sunlight, indicating the formation of AgNPs. The formation of AgNPs is monitored using UV–Vis spectrophotometer in the range of 200–800 nm, where an intense peak was obtained at 436 nm, which is known as Localized Surface Plasmon Resonance (LSPR) band due to the excitation of free electrons in the nanoparticles. The peak is sharp and symmetrical in shape signifying the formation of mono dispersed AgNPs [33].

Figure 2a represents the UV–Vis spectra of synthesized AgNPs as a function of interaction time. From the figure it is evident that the formation of AgNPs mainly depends on the time of exposure to sunlight. It can be observed that the absorbance is increased with exposure time (Fig. 2b), indicating more Ag+ ions are reduced with time. Initially the absorbance of the solution increases exponentially after that it tends to attain almost a constant value indicating the completion of the reaction. By monitoring the LSPR band from 0 to 55 min, it can be seen that there is a blue shift of λ max from 441 to 411 nm with the consequent color changes from reddish brown to yellow. This kind of blue shift is being reported to be due to the formation of small-sized nanoparticles [48] and narrowing of peak with time implies monodispersed AgNPs are formed with time and about 30 min may be taken as appropriate to get uniform-sized nanoparticles.

Fig. 2
figure 2

UV–Vis spectra recorded as a function of time of reaction of H. asiatica extract with an aqueous solution of 1 mM AgNO3: a, c presence and absence of sunlight, b, d variation of absorbance with time (presence and absence of sunlight)

For comparison, the title reaction is also studied at ambient conditions in the absence of sunlight. The reaction is slow and the appearance of yellowish brown color is noticed only after an hour, thereafter the color intensified slowly with time (Fig. 2c). The maximum absorption is observed at 437 nm and the LSPR band is broad signifying the poly-dispersed nature of nanoparticles. Initially the intensity increased almost linearly up to 6 days after that it tends to attain a maximum value (Fig. 2d) indicating the completion of reaction. It is observed that the λ max is blue shifted from 437 nm to 428 nm with increase of reaction time from 1 to 30 days. The AgNPs are observed to be stable in solution for more than 1 month.

Effect of the synthesis variables on AgNPs

The effect of extract quantity, silver nitrate concentration, temperature and pH on the formation of AgNPs in the presence and absence of sunlight is also studied.

UV–Vis spectra of AgNPs synthesized in presence of sunlight

Effect of volume of extract

The volume of the extract was varied from 1 to 3 mL by keeping the AgNO3 concentration constant. From Figure S1 (S—Supporting Materials), it is observed that initially the absorbance of LSPR band increases and then decreases. Minimum volume of leaf extract is preferred to have stable AgNPs.

Effect of AgNO3 concentration

The AgNO3 concentration was varied from 1 to 10 mM, while keeping the extract volume constant. On increasing the concentration of silver nitrate, the formation of NPs is also increased linearly up to 7 mM after that it tends to attain maximum value. There is no appreciable shift in the λ max is observed (Figure S2).

Effect of pH

To study the effect of pH, extract pH was adjusted to 3–11 by adding 0.1 M sulphuric acid or 0.1 M sodium hydroxide. In all the pH ranges, the LSPR band appears between 411 and 429 nm indicating that there is no change in the shape of the NPs with change in pH (Figure S3). However, in alkaline pH (>9) the intensity of SPR band increases appreciably with a blue shift. This trend is reported earlier also signifying the formation of large amount of AgNPs and the blue shift is attributed to formation of small-sized nanoparticles [17].

UV–Vis spectra of AgNPs synthesized in absence of sunlight

Effect of volume of extract

The volume of extract was varied from 0.5 to 2.5 mL with 25 mL of 1 mM AgNO3 solution. The spectrum was recorded after 24 h of reaction. Figure S4a represents the UV–Vis spectra of AgNPs synthesized using H. asiatica at different extract volume. At higher volume of extract, SPR peaks are broad indicating that the AgNPs are poly-dispersed. The red shift in the absorption maximum shows the aggregation of nanoparticles leading to larger particle size. For the generation of small AgNPs, minimum quantity of leaf extract is preferred. It is observed that initially the absorbance of SPR band increases while increasing the quantity of extract; at higher volumes it tends to attain a constant value (Figure S4b).

Effect of AgNO3 concentration

The AgNO3 concentration was varied from 1 to 3 mM, while keeping the extract volume constant. Figure S5a represents UV–Vis spectra of AgNPs prepared using H. asiatica at different AgNO3 concentration. On increasing the concentration of AgNO3, the formation of NPs is also increased up to 2.5 mM after that there is no change in absorbance (Figure S5b). There is a shift in the λ max from 449 to 443 nm when the concentration of AgNO3 is increased from 1.5 to 3.0 mM indicating the aggregation of NPs. On adding extract to higher concentration of AgNO3 (4 and 5 mM), a black colored suspension is formed, may be due to the formation of silver oxide.

Effect of pH

To study the effect of pH, extract pH was adjusted to 2, 3, 4, 6 and 9 and then the extract (5 mL) was added to 95 mL of 1 mM silver nitrate solution to make the total volume to 100 mL. The spectrum was recorded after 24 h of reaction. Figure S6 represents UV–Vis spectra of AgNPs synthesized using H. asiatica at different pH values. At lower pH 2, 3 and 4, rate of formation of AgNPs is very slow when compared to pH 6. The broad SPR bands observed at lower pH values are due to large anisotropic particles. At higher pH 9, rate of formation of AgNPs is high. This may be due to the large number of free functional groups available for silver binding, which facilitated higher number of silver ions to bind and subsequently form a large number of NPs with smaller diameters (λ max 417 nm) [33].

Effect of temperature

To study the effect of temperature on AgNPs formation, the reaction was carried out at 35, 60, 80 and 100 °C in a water bath. The spectra were recorded after 1 h of reaction. As the temperature is increased, the rate of formation of AgNPs is also increased indicated by increase in the absorbance. Figure S7 represents UV–Vis spectra of AgNPs synthesized using H. asiatica at different temperature. At 35 °C, a broad SPR band indicates the formation of poly-dispersed AgNPs. With increase in the reaction temperature, the SPR band becomes narrow signifying the monodispersed nature of NPs. The λ max of SPR band is shifted from 436 to 406 nm, due to the reduction in size of the NPs. With the increase of temperature from 35 to 80 °C more and more AgNPs are formed, after that not much increase is observed indicating the completion of the reaction.

All these results indicate the superiority of light induced method. More stable AgNPs are formed with uniform size distribution as implied by the sharp and narrow peaks in light reaction as compared to room temperature reaction. The rate of formation of nanoparticles is also very high in light reaction (min. vs days). As mentioned below the glycosides and flavonoids may act as reducing agents to reduce Ag+ to AgNPs, the enhanced rate of reduction in the light irradiated reaction may be due to readily available electrons from the excitations of low energy transitions like π-π* in the biomolecules.

UV–Vis spectra of AuNPs

UV–Vis spectra of AuNPs formed by H. asiatica extract in bright sunlight at different reaction time are given in Fig. 3. Initially the reaction mixture was colorless, after exposing to sunlight the color of the reaction mixture changed to dark purple in 45 s. The broad band observed initially at 556 nm is changed to sharp peaks with time with the increase of absorption intensity till 40 min with a noticeable blue shift in absorption band. This observation indicates an increase in percentage of nanoparticles in solution and decrease in size with time. However, the absorption intensity of solution slowly decreases after 40 min, which may be due to change in the dimension of anisotropic nanostructures [49]. Hence, 30 min is considered to be optimal time to get monodispersed AuNPs. For comparison formation of AuNPs is also studied in the absence of sunlight, but the reaction is very slow and the AuNPs got aggregated to give a blue precipitate with time hence the reaction is not studied further.

Fig. 3
figure 3

a UV–Vis spectra recorded as a function of time of H. asiatica extract with an aqueous solution of 1 mM HAuCl4 solution in sunlight, b variation of absorbance with time

FT-IR studies

FT-IR measurements are carried out to identify the possible bio components in H. asiatica leaf extract, which are responsible for stabilization of Ag and AuNPs. The FT-IR spectra of leaf extract and Ag and AuNPs are represented in Fig. 4. The untreated leaves extract shows prominent absorption bands at 3413, 2927, 1630, 1450, 1383, 1272 and 1099 cm−1 (Fig. 4c). In the IR spectra, intense bands are observed at 3438, 2922, 1617, 1384 and 1097 cm−1 (Fig. 4b) and at 3451, 2923, 1629, 1384 and 1097 cm−1 (Fig. 4a) for Ag and AuNPs, respectively. Both spectra are almost identical indicating that the biomolecules responsible for stabilization are the same. The bands around 3400 cm−1 are due to alcoholic –OH stretching vibration, peak around 1630 cm−1 may be due to stretching vibrations of –C=C/–C=O, and the peak at 1384 cm−1 is probably due to –CH bending mode and the peak around 1099 cm−1 may be attributed to –C–O stretching vibration. The vibrational bands matching to the functional groups such as –OH, –C=O, –C=C and –C–O are probably derived from the water-soluble flavonoids and glycosides [50]. The presence of flavonoids in the extract was confirmed by Ferric chloride test (the extract when treated with few drops of Ferric chloride solution changed to blackish red color) and glycosides was confirmed by the Keller Killiani Test (the extract was treated with few drops of glacial acetic acid and Ferric chloride solution, mixed and concentrated sulphuric acid was added, lower reddish brown layer and upper acetic acid layer which turned bluish green indicated the presence of glycosides) [51]. The structures of important biomolecules present in H. asiatica leaves are given below.

figure c
Fig. 4
figure 4

FT-IR spectra of a Solid AuNPs, b Solid AgNPs and c dry powder obtained from the aqueous extract of H. asiatica

The peak at 1630 cm−1 is shifted to 1617 cm−1 in the case of AgNPs indicating the involvement of flavonoids or glycosides containing C=O groups in the stabilization of AgNPs.

TEM analysis

The morphology and size of the prepared Ag and AuNPs are analyzed by recording TEM images. TEM images of the Ag and AuNPs at different magnification are presented in Figs. 5 and 6 respectively. The TEM images clearly show that the nanoparticles are predominantly spherical in shape. The size is in the range of 6.6–33.6 and 8–35 nm for AgNPs in the presence, and absence of sunlight, respectively, and 5.2–10.3 nm for AuNPs in presence of sunlight. Figures 5i and 6f show the SAED pattern (circular ring) of Ag and AuNPs that revealed the polycrystalline nature of nanoparticles. The diffraction rings can be indexed on the basis of the fcc structure of Ag and AuNPs. Four rings arise due to reflections from (111), (200), (220) and (311) lattice planes of fcc of Ag and Au, respectively. This is further supported by broad Bragg’s reflection observed in the XRD spectra.

Fig. 5
figure 5

TEM images of AgNPs at different magnification ad in the presence of sunlight, eh in the absence of sunlight, i SAED pattern of AgNPs in the presence of sunlight

Fig. 6
figure 6

ae TEM images of AuNPs at different magnification and f SAED pattern

EDAX analysis

EDAX analysis is carried out to confirm the elemental form of Ag and Au. The strong optical absorption peak is observed in the region of 3 keV (Fig. 7a) and 2 keV (Fig. 7b), which is typical for the absorption of metallic Ag [52] and Au [53] nanocrystallites, respectively. In addition to Ag and Au, peaks due to carbon and oxygen are also present, which further support the stabilization of nanoparticles by biomolecules.

Fig. 7
figure 7

EDAX spectra of a AgNPs and b AuNPs

XRD studies

The powder X-ray diffraction patterns of the Ag and AuNPs are shown in Fig. 8a, b, respectively. XRD pattern of pure crystalline face-centered cubic (fcc) Ag has been published by the Joint Committee on Powder Diffraction Standards (JCPDS-2 4-0738). A comparison of XRD spectrum with the standard, confirm the crystalline nature of AgNPs, as evidenced by the peaks at 2θ values of 38.04°, 46.15°, 67.33° and 76.71°, corresponding to 111, 200, 220 and 311 planes, respectively. Similar peaks are obtained for the nanoparticles prepared in absence of light also.

Fig. 8
figure 8

XRD patterns of a AgNPs and b AuNPs

The AuNPs show similar characteristic peaks of metallic fcc Au (JCPDS: 4-0784). The particle sizes of Ag and AuNPs are calculated by Debye–Scherrer Eq. (1) and the average sizes are found to be 17.26 and 12.84 nm, respectively.

$$D = k\lambda /\beta \cos \theta$$
(1)

where, k is the Scherrer constant, λ is the wavelength of the X-ray, β and θ are the half width of the peak and half of the Bragg angle, respectively.

In comparison to AgNPs, broad peaks are obtained in the XRD spectrum of AuNPs. Generally smaller-sized particles show peak broadening in the XRD pattern [54]. Broad peaks obtained in AuNPs are due to their smaller size. TEM results further augment this statement as smaller-sized AuNPs (8 nm) are produced in comparison to AgNPs (21 nm).

DLS and zeta potential studies

The data of DLS studies show that the average size of the AgNPs (Fig. 9a) is 53.64 nm and AuNPs (Fig. 9c) is 18.49 nm and the polydispersity index (PDI) is 0.245 and 0.330 for Ag and AuNPs, respectively, indicating moderate uniformity in the distribution of particles. The value of zeta potential of AgNPs (Fig. 9b) is −34.9 mV and AuNPs (Fig. 9d) is −20.7 with a single peak indicate the moderate repulsion between the nanoparticles. If the particles have a large negative zeta potential or large positive zeta potential, they will tend to repel each other and there will be no attraction to assemble together.

Fig. 9
figure 9

Size distribution of a AgNPs; c AuNPs and Zeta potential of b AgNPs; d AuNPs

Antimicrobial studies

The antimicrobial activity of Ag and AuNPs is evaluated against various pathogenic strains including Gram-positive, Gram-negative bacteria. Generally, the antimicrobial behavior is due to the diffusion of nanoparticles into the bacteria resulting in the damage of cell membrane [55]. Another possibility recommended is the release of Ag+ ions from the nanoparticles, which enhance the bactericidal properties of nanoparticles [56].

The extract and AuNPs have no activity against the tested bacteria, but AgNPs show desirable results. The maximum zone of inhibition for AgNPs is shown by Gram-negative bacteria, S. paratyphi, (17 mm), in comparison to Gram-positive bacteria such as P. aeroginosa (15 mm), S. pyogenes (11 mm) and S. faecalis (14 mm) (Figure S8), which may be explained by the fact that the cell wall of the gram-positive bacteria is made of thick peptidoglycan layer consisting of linear polysaccharide chains cross linked by short peptides, thus forming more rigid structure leading to difficult diffusion of AgNPs compared to the Gram-negative bacteria where the cell wall has been composed of thinner peptidoglycan layer [57].

Evaluation of photo degradation

To see the potential application of biosynthesized Ag and AuNPs for environmental remediation, the degradation of two different cationic dyes (MG and MB) is studied at neutral condition (~pH 6). The experiments are carried out over period of 3 h both in the presence and absence of sunlight.

Degradation of malachite green

The change in the UV–Vis spectra of MG during the photodegradation process is given in Fig. 10b. Typically MG solutions display maximum absorbance at 315, 425, and 618 nm [58]. In the present study, the aqueous solution of MG solution has peaks at 316, 424 and 617 nm and the decrease in intensity of the major peak at 617 nm was monitored with time. In the absence of sunlight, the intensity of characteristic absorption band at 617 nm is decreased slowly (from 1.17 to 0.49 au in 180 min), corresponds to 57 % dye removal, but no shift in the λ max is observed. During sunlight irradiation, the absorbance is decreased quickly (from 1.15 to 0.07 au in 180 min), which corresponds to 94 % removal of dye with a blue shift in λ max (617–570 nm). No new absorption band is appeared around 255 nm indicating no leuco form of the dye is formed during the course of the reaction [59]. The plot of −ln(C/C 0) versus time is a straight line in both cases and the slope is equal to the rate of degradation, which is 0.38 × 10−2 and 1.51 × 10−2 min−1 in the absence and presence of sunlight, respectively. The fourfold increase in rate of the degradation in sunlight indicates the strong influence of sunlight on the reaction.

Fig. 10
figure 10

UV–Vis spectra of MG as a function of time in the presence of AgNPs (MG—1 × 10−5 M, AgNPs-10 mg) a absence of sunlight, b presence of sunlight; Inset—shift in λ max with time c plot of absorbance versus time and d plot of −ln(C/C 0) versus time

Another observation in the UV–vis spectra of MG is the initial decrease in the peak intensity at 617 nm (Fig. 10a, b). This may be due to the initial adsorption of MG over AgNPs [57]. From the decrease in initial peak intensity, the percentage adsorption of MG on the AgNPs is approximately 18 and 9.6 % in the absence and presence of sunlight, respectively. The less percentage of adsorption in the sunlight reaction may be due to the fact that the degradation of MG starts as soon as the adsorption takes place and the mechanism of this reaction is different.

The chemical structure of MG varies with solution pH. Chromatic MG+ exists between the pH of 3.5–5.0 (λ max = 617 nm), the protonated species MGH+ exists below pH 2 (λ max = 255 nm) and at pH value above 8 it is colorless due to the formation of carbinol base [56]. To see the effect of pH on degradation of MG, the reaction is also studied at pH 9 (Figure S9). At pH 9 the intensity of the peak at 617 nm is decreased immediately after the addition of NaOH (1.14–0.71 au) and 0.71–0.30 within 5 min after that it decreased gradually. A new peak is also observed at 252 nm, which may be due to the alkali fading of dye (leuco form) [59]. The fact that, no additional peak is noticed around 255 nm and the λ max is shifted from 617 to 570 nm in the sunlight irradiated reaction suggests that the dye undergo degradation in the presence of sunlight rather than simple adsorption [60].

Further to substantiate the degradation, the FT-IR spectra of the dye before and after treating with AgNPs were recorded. In the case of pure MG, the FT-IR spectrum (Figure S10b) exhibits peaks at 2924, 1585, 1371, 1170 and 723 cm−1. The peaks at 2924 cm−1 is assigned to asymmetric C–H stretching of CH3 group, the peak at 1585 cm−1 is assigned to C=C stretching of the benzene ring, the peak at 1170 cm−1 is due to C-N stretching vibration, the peak at 1371 cm−1 is assigned to stretching of −CH3/−CH2 and the peak at 725 cm−1 indicates symmetric out of plane bending of the ring hydrogen [61].

The FT-IR spectrum of solid AgNPs (Figure S10a) separated from the reaction mixture after the sunlight exposed degradation of MG shows that some peaks of MG have disappeared, specifically the peaks at 1371 and 1170 cm−1, assigned to −CH3/−CH2 and C–N stretching vibrations, inferring the cleavage of C–N bond in N-methyl group. This is further supported by the shifting of λ max in the UV–vis spectra in the presence of sunlight (Fig. 10b).

Degradation of methylene blue

Typically aqueous solutions of MB display maximum absorbance at 246, 292, 612 and 664 nm [62]. The decrease in intensity of peak at 663 nm was monitored with time and the change in the UV–Vis spectra during the photo degradation process is illustrated in Fig. 11. In the absence of sunlight, the intensity of characteristic absorption band of dye at 663 nm is decreased slowly, after 120 min 72 % of dye is removed without any shift in the λ max. The absorbance of dye is decreased from 0.71 to 0.19 au. During sunlight irradiation, the absorbance is decreased rapidly with a huge blue shift in λ max (114 nm; 663–549 nm), and no new absorption band is observed. The absorbance is decreased quickly from 0.71 to 0.07 au corresponding to 90 % of removal of dye after 120 min of sunlight irradiation. The plot of −ln(C/C 0) versus time (Fig. 11d) is a straight line in both cases and the slope is equal to the rate of degradation, which is 0.75 × 10−2 and 1.72 × 10−2 min−1 in the absence and presence of sunlight, respectively, which is approximately 2.3-fold increase in sunlight reaction. No new peak is formed around 256 nm confirming the absence of leuco-methylene blue [63]. Another observation in the UV–Vis spectra is the sudden initial decrease in the peak intensity of MB at 663 nm (Fig. 11a, b). This may be due to the initial adsorption of MB over AgNPs. From the decrease in initial peak intensity, the percentage adsorption of MB on the AgNPs is approximately 28 and 33.8 % in the absence and presence of sunlight, respectively.

Fig. 11
figure 11

UV–Vis spectra of MB as a function of time in the presence of AgNPs (MB—1 × 10−5 M, AgNPs—10 mg) a absence of sunlight, b presence of sunlight; Inset—shift in λ max with time c plot of absorbance versus time and d plot of −ln(C/C 0) versus time

The FT-IR spectrum of AgNPs (Figure S11a) obtained after the sunlight exposed degradation of MB shows that some peaks have disappeared, specifically the peaks at 1489 and 1178 cm−1 both due to vibration of heterocyclic skeleton, indicating the cleavage of heterocyclic ring. Moreover, the peaks at 1350 cm−1 due to C–N stretching are also disappeared inferring the cleavage of C–N bond in N-methyl group. This is further supported by the large hypsochromic shift of λ max in the UV–Vis spectrum in the presence of sunlight.

In the degradation of MB the intensity of LSPR band at 436 nm is increased with time both in the presence and absence of sunlight, but this trend is not observed in MG. After 90 min this peak spans entire visible region and no further decrease in intensity of peak at 663 nm is noticed even after 180 min although the blue color of MB is completely removed. This may be due to the interaction of AgNPs with dye molecules or any other intermediates formed during the reaction. The same trend was found in the recent articles and the authors attributed no reason [38, 39]. The intensity of peak at 246 nm decreased initially, after some time it started increasing in the reaction carried out in absence of light, but no such trend is observed in the light reaction. This may be due to interaction of AgNPs with adsorbed dye. The fact that this trend is not observed in light reaction means complete decomposition of intermediates containing phenothiazine moiety formed as a result of N-demethylation [64].

Parameters affecting dye degradation rate

Effect of dye concentration

The effect of concentration of MB (0.5, 1.0 and 2.0 × 10−5 M) was studied by keeping the catalyst dosage at 10 mg per 100 mL. While increasing the dye concentration from 0.5 to 1.0 × 10−5 M the rate of degradation also increases, but with further increase of concentration, the degradation rate decreases. This may be due to inability of light to reach the catalyst surface at high dye concentration [65]. The plot of −ln(C/C0) versus time is a straight line (Figure S12). The same trend is observed in MG also.

Effect of catalyst dosage

The effect of catalyst dosage on the photocatalytic degradation of MB under sunlight was studied using different amounts of AgNPs (5, 10 and 15 mg per 100 mL) by keeping dye concentration constant (1 × 10−5 M). The degradation rate increases with increase of catalyst dosage (Figure S13). This may be due to an increased number of available adsorption and catalytic sites on the surface of the catalyst [66]. MG also shows the same trend.

Effect of pH

pH is one of the important parameters for study of dye degradation. The effect of pH on the degradation of dyes was studied at pH 4, 6 and 8 (pH 9 in the case of MG), which was maintained by adding 0.1 M H2SO4 or 0.1 M NaOH solution. At pH 4, degradation is less and at pH 8, degradation is high (Figures S14 and S15).

AuNPs could not be separated as solid by centrifugation and hence the degradation of MB and MG is studied in the presence of colloidal solutions of AuNPs. No appreciable degradation of the dye is noticed even after 3 h, may be due to the fact that the sunlight is insufficient to produce required electrons on the surface of AuNPs.

Mechanism for the degradation of dyes

Surfing chemical literature reveals that three possible mechanisms are proposed for the removal of the color of the dyes. 1. The dye may be converted to its leuco form by reduction or by increasing the pH [56]. 2. The dye may be adsorbed over the AgNPs, due to the high surface area of nanoparticles; large amount of dye can be removed. 3. The dye can be degraded on the surface of AgNPs due to hot electrons present on the surface created by the intraband transition of electrons (5sp) in the AgNPs due to the LSPR [67].

In this study the last mechanism seems to be operative (Fig. 12). The AgNPs prepared through biosynthetic route are negatively charged as supported by zeta potential (−34.9 mV). Initially the cationic dyes may get adsorbed over the AgNPs due to electrostatic interaction and due to proximity, the excited electrons may degrade the dye in the nanoparticles-adsorbate interface.

Fig. 12
figure 12

Schematic diagram of photodegradation of a MB and b MG under sunlight irradiation over AgNPs

The blueshift in λ max suggests the formation of N-demethylated intermediates in degradation pathway. The color of MB solutions becomes less intense (hypsochromic effect) when auxochromic groups (methyl or methylamine) are removed. For dyes containing auxochromic alkylamine groups, N-dealkylation plays an important role in photocatalytic degradation [68]. No new peaks for intermediates appeared during the degradation of both MG and MB and almost nil COD value after the reaction indicates the complete degradation of dyes in sunlight. Hence in the light reactions, it appears degradation takes place via demethylation process and in the absence of light the removal of color is due to adsorption. However, further research using other plasmonic nanoparticles is required to prove this mechanism.

Conclusions

H. asiatica leaves extract has been used as a reducing and capping agent for the photobiological synthesis of Ag and AuNPs. The formation of nanoparticles is observed by color change and confirmed by UV–Vis spectroscopy. Active water-soluble biomolecules such as glycosides and flavonoids from the extract are responsible for the reduction and also act as stabilizing agent against agglomeration of nanoparticles. From TEM, the average sizes of Ag and AuNPs are found to be 21 and 8 nm, respectively. Small quantity of AgNPs (0.1 g/L) has potential capacity to remove cationic dyes in the presence of sunlight and have noticeable antibacterial activity. Utilization of surface plasmonic resonance excitation of noble metal nanoparticles for various catalytic processes is the current field in green chemistry. Since in this reaction a plant is used as a reductant and stabilizer for preparing noble metal nanoparticles and abundantly available sunlight is used to drive the photo degradation of dyes, this green route may be used for environmental remediation and in water treatment technology.