1 Introduction

Nanoparticles have gained immense importance in recent times due to their diverse application in the field of science and technology. By definition, they are described as microscopic particles that have size smaller than 100 nm in at least one dimension [1, 2]. Their microscopic size, morphology and distribution enable them to possess unique biological, chemical and physical properties that are distinctly different from those of individual atoms and molecules [2, 3]. Metal nanoparticles have been extensively explored due to their diverse applications in the areas of catalysis, biosensing, medicine, drug delivery etc. [1, 4,5,6,7,8]. In particular, silver nanoparticles (AgNPs) have received close attention due to their unique physicochemical properties [9,10,11,12].

Colloidal silver particles have been reported to act as effective antimicrobial agents against bacteria and viruses [11, 13,14,15]. They also possess promising catalytic activity, which enable them to degrade harmful synthetic dyes such as methylene blue (MB), congo red, methyl orange and methyl red [2, 3, 11, 16,17,18,19]. Additionally, they have also been shown to act as efficient sensors for detecting heavy metals like mercury and copper ions [20, 21]. These AgNPs can be produced by physical, chemical and biological methods. Physical and chemical methods of synthesis pose a threat to environment due to the use of reducing and stabilizing agents that are known to be both toxic and non-biodegradable [14, 15]. Alternatively, biological synthesis or ‘Green Synthesis’ of AgNPs is considered a novel approach due to its numerous advantages such as eco-friendly nature, ease of production, feasible large-scale synthesis and lack of requirement of harmful chemical agents [9, 10, 15, 16]. Biological method essentially makes use of plant extract or microorganisms for synthesizing AgNPs. However, from the viewpoint of industrial feasibility, plant mediated green synthesis of AgNPs is considered to be more economic and safer as compared to microbe-assisted synthesis since handling and maintaining microbial cultures is often tedious [16].

Green synthesis method principally produces nanoparticles using capping and reducing agents present in plant extracts. Plant extracts can be acquired from vegetative parts such as stem, leaves, fruits, roots and flowers. These parts are rich sources of reducing agents such as membrane proteins, phenols, flavonoids and other secondary metabolites [22,23,24]. In addition to this, plant extracts also contain capping agents such as extracellular tannic acids, peptides and enzymes [24]. Considering the array of biomolecules present in plants, appropriate selection of suitable plant material is of utmost importance for obtaining the right combination of these agents. Several research studies have successfully synthesized AgNPs using extracts prepared from fresh plant material of Ocimum sanctum (Tulsi), olive leaf, Amaranthus gangeticus (Chinese red spinach), Citrullus lanatus, Datura stramonium, coffee, Azadirachta indica (neem), Matricaria recutita (Babunah), Aloe vera etc.[11, 15, 20, 21, 25,26,27,28,29]. Alternatively, fruit and vegetable wastes have also been utilized for synthesizing AgNPs with the purpose of curbing their overwhelming burden on the environment [24, 30,31,32].

Biowaste, in the form of vegetable or fruit waste, has become a major environmental concern due to its improper disposal. Among vegetables, India ranks second worldwide in cauliflower production, accounting for approximately 35% of total worldwide production [33]. Cauliflower (Brassica oleracea var. botrytis) forms an integral part of routine diet in India. As a habitual practice, cauliflower leaves are peeled off from the vegetable floret and discarded before cooking. Also, a huge amount of superfluous cauliflower leaves are removed prior to selling in vegetable markets and later dumped improperly. This improper disposal leads to unwarranted growth of harmful microorganisms. In view of their ill effects, cauliflower and several other vegetable wastes are being extensively studied with an intention of finding their alternate applications as biofuels, compost etc. Cauliflower leaves are rich sources of polyphenols that, as mentioned above, are promising reducing agents for nanoparticle synthesis [34]. Previous research studies have synthesized AgNPs using fresh cauliflower and revealed their promising applications as antibacterial and antifungal agents against pathogens like Escherichia coli, Staphylococcus aureus, Klebsiella Pneumoniae, Bacillus subtilis, Candida albicans and Aspergillus sp. [35,36,37]. Another research study showed that AgNPs synthesized from fresh cauliflower floret extract display promising antioxidant and anti-cancerous properties [38]. However, till date, research on green synthesis of AgNPs using cauliflower waste and analysis of their possible environmental applications has not been explored in detail.

Therefore, in light of the above and the need for finding meaningful alternate applications of cauliflower waste, the aim of the present work was to synthesize AgNPs using extract obtained from discarded cauliflower leaves. Further, the study also assessed potential environmental applications of biosynthesized AgNPs in photocatalytic degradation of harmful MB dye and biosensing of Hg2+ ions.

2 Materials and methods

2.1 Preparation of cauliflower leaf waste (CLW) extract from waste Brassica oleracea var. botrytis

Discarded cauliflower (Brassica oleracea var. botrytis) leaves were collected from local market in Mumbai. These leaves were thoroughly washed with tap water and further rinsed with dechlorinated water. The washed leaves were then shade dried for 7 days and later ground using mechanical blender. Then, 10 g of dried powder was added to 100 ml dechlorinated water. The mixture was boiled for 5 min and later filtered. The filtrate obtained was used for biosynthesis of AgNPs.

2.2 Biosynthesis of AgNPs

For biosynthesis of AgNPs, a typical reaction mixture consisted of 3 ml of CLW extract, 1 ml of 5 mM AgNO3 and 6 ml deionised water. The solution was heated in microwave at 600 W for 5 min with intermittent mixing after which, it was further incubated in dark for 24 h. Formation of AgNPs through CLW extract mediated reduction of Ag1+ to Ag0 was studied by observing the color change of the reaction solution. Formation of AgNPs was also confirmed by spectrophotometric analysis. The optical absorption of biosynthesized AgNPs was investigated at a wavelength range of 250–600 nm using Cary 50 UV–visible spectrophotometer, operated at a resolution of 1 nm.

2.3 Optimization of parameters

Parameters such as CLW extract concentration, AgNO3 concentration, pH and temperature were optimized for biosynthesizing AgNPs. AgNO3 solution and CLW extract were used as negative controls. The optimum conditions needed for successful bioreduction of silver ions and their subsequent nucleation into AgNPs were determined by spectrophotometric analysis of AgNPs after 24 h incubation in dark at room temperature.

2.3.1 Concentration of CLW extract

The effect of CLW extract concentration on biosynthesis of AgNPs was studied by setting up the reaction using different volumes of CLW extract (1, 2, 3, 4 and 5 ml). The appropriate volume of extract needed for forming suitable AgNPs was determined by studying the absorption spectra of nanoparticles.

2.3.2 Concentration of AgNO3 solution

Optimum AgNO3 concentration for nanoparticle synthesis was studied by setting up the reaction mixtures with different AgNO3 concentrations (0.5, 1.0, 1.5, 2 and 2.5 mM). Optimum AgNO3 concentration was determined by assessing the absorbance of nanoparticles spectrophotometrically.

2.3.3 Temperature

The aforementioned reaction mixture for synthesizing AgNPs was subjected to different temperature conditions namely, microwave-assisted heating at 600 W (5 min), heating at 100 °C (1 h), and room temperature (24 h). Each reaction tube was kept at room temperature for 24 h after synthesis. The appropriate temperature condition was assessed by analyzing the absorbance spectra of these nanoparticles.

2.3.4 pH

The optimum pH was studied by subjecting the standardized reaction mixture of 3 ml CLW extract, 1 ml of 5 mM AgNO3 and 6 ml deionised water to different pH conditions (6.5, 7.5, 8.5, 9.5). The reaction solution was adjusted to desired pH using 0.1 N NaOH. Optimum pH was determined by studying the absorbance spectra of AgNPs.

2.4 Purification of AgNPs

For purification of nanoparticles, the reaction solution was centrifuged for 10 min at 10,000 rpm. The pellet obtained was washed with dechlorinated water and centrifuged at 10,000 rpm for 10 min until a clear supernatant was obtained. The washed pellet was dried overnight at room temperature. The dried AgNPs were weighed and further characterized to evaluate their shape and size.

2.5 Characterization of biosynthesized AgNPs

After purification, biosynthesized AgNPs were further characterized using FT-IR analysis, XRD, SEM, TEM, SAED at Sophisticated Analytical Instrumentation Facility (SAIF) at IIT Bombay. FT-IR analysis, was performed for determining the functional biomolecules in CLW extract that served as reducing and stabilizing agents for biosynthesizing AgNPs. FT-IR spectrum was recorded in the range of 3500–500 cm−1 using Bruker Vertex 80, 3000 Hyperion microscope with FT-IR system. The crystalline structure of synthesized AgNPs was examined by XRD using panalytical empyrean powder diffractometer with Cu K alpha radiation at 1.54184 Å. Field emission gun-scanning electron microscopy (FEG-SEM) was performed using Jeol JSM-7600F FEG-SEM for examining surface morphology of nanoparticles. Transmission electron microscopy (TEM) and selected area diffraction pattern (SAED) analysis was performed using field emission gun-TEM 300 kV for evaluating morphology and size of nanoparticles. X-ray photoelectron spectroscopy (XPS) was conducted using thermo Fischer scientific K-Alpha XPS for determining the surface chemical composition. Surface area and pore size of AgNPs was determined using BET High Speed Surface Area and Pore Size Analyzer at ICAR-CIRCOT, Mumbai.

2.6 Photocatalytic degradation of MB dye

Photocatalytic activity of biosynthesized AgNPs against MB dye was assessed. 5 mg of biosynthesized AgNPs was added to 50 ml of 1 mg/l MB solution. MB solution of the same concentration was used as control. Both test and control suspensions were mixed thoroughly on a shaker at 100 rpm for 30 min after which, the solutions were kept under sunlight and monitored. Next, 2 ml aliquots were removed at time intervals of 30 min till significant discolouration was observed. The aliquots were centrifuged at 10,000 rpm for 5 min. The absorbance of MB dye was measured in resultant supernatant of control and test solutions at 664 nm wavelength. Percentage of MB dye degradation in test and control at respective time interval was calculated using the following formula:

$$\% {\text{ Degradation}} = {1}00 \times \left( {{\text{A}}_{0} {-}{\text{A}}} \right)/{\text{A}}_{0}$$

where, ‘A0’ is the initial absorbance of MB dye solution and ‘A’ is the absorbance of MB dye solution obtained after each time interval. Further, the leaching of AgNPs into the solution was studied by analyzing the MB dye solution after 150 min. For this, centrifugation of the dye solution containing AgNPs was done and, the supernatant obtained was further analyzed by ICP-atomic emission spectroscopy (AES) at SAIF labs at IIT Bombay for determining the level of silver leaching that may have occured during the photodegradation reaction.

The photocatalytic activity of biosynthesized AgNPs was evaluated by studying the degradation of phenol (5 mg/l), which is a colourless organic pollutant [39]. In the presence of sunlight, the aliquots of treated solution were taken at equal time intervals. The decrease in peak intensity of phenol at 270 nm was studied and considered to be indicative of decomposition of phenol.

The active species involved in the photocatalytic reaction were detected using trapping experiments. For this, the effect of 1 mM IPA (a quencher of •OH), 1 mM triethanolamine (a quencher of h+) and nitrogen purging (a quencher of •O2) on the photocatalytic degradation process was investigated [40]. The method employed was similar to the aforementioned photocatalytic test.

The stability and reusability of biosynthesized AgNPs were evaluated by performing a recycling study of AgNPs using earlier photocatalytic experiment. The biosynthesized AgNPs were separated after MB photodegradation reaction by centrifugation and subsequently washed using distilled water. Then, these separated AgNPs were reused in MB degradation experiment and, the percentage degradation of the dye after every cycle was determined.

2.7 Biosensing of Hg2+ ions

2.7.1 Specificity

Biosynthesized AgNPs were tested as nanosensors for detecting Hg2+ ions at room temperature. For demonstrating the specificity of biosynthesized AgNPs for Hg2+ ions, AgNPs were tested against various metal ions such as Hg2+, Co2+, Pb2+, Mn2+, Mg2+, Zn2+, Ni2+, Na+, K+, Ba2+, Cu2+, Al3+ and Fe3+. For this, 1 ml aliquot of 20 mg/l salt solution was treated with 100 μl of as-synthesized AgNPs. A solution of 100 μl of as-synthesized AgNPs in 1 ml distilled water was used as control. Control and test solutions were allowed to stand at room temperature for 10 min. The results were visually analyzed by comparing the colour of test solution to that of the control.

2.7.2 Sensitivity

AgNPs were further tested to determine their limit of detection for Hg2+ ions. To demonstrate this, different concentrations of HgCl2 solutions (20 mg/l, 1 mg/l, 0.1 mg/l, 0.01 mg/l, 0.001 mg/l) were treated with 100 μl of as-synthesized AgNPs. After 10 min incubation at room temperature, the solutions were visually analyzed for any colour change and, their absorption spectra were studied between 250 and 600 nm wavelength using a spectrophotometer.

3 Results and discussion

3.1 Optimization of parameters for biosynthesis of AgNPs

Green synthesis of nanoparticles has emerged as a novel approach in the field of nanotechnology due to its ability to provide effective control over growth and stabilization of nanocrystals [41]. Several research studies have used the green approach for synthesizing AgNPs in order to address the problem of environmental pollutants and harmful microorganisms. For this, such studies have majorly relied and proven the potential use of fresh plants as a reducing source for nanoparticle synthesis. However, the practical applicability of such systems on a large scale entails using large quantities of fresh plant material and this, can in turn inadvertently impact the ecosystem balance. Alternatively, lab scale culturing of such fresh plants for availing their growth and use in nanoparticle synthesis is also tedious. In view of this, it is advisable to rely on the readily available large amount of bio-waste for obtaining useful nanoparticles. In the current study, cauliflower vegetable waste was used for biosynthesizing AgNPs. The present study employed the idea of ‘waste to wealth’ and tested nanoparticle synthesis as an alternative method for converting cauliflower waste to useful AgNPs.

It is known that plant extract concentration, AgNO3 concentration, pH, and temperature are some of the defining factors that affect the rate of synthesis of nanoparticles and their quality [9]. Hence these parameters were optimized to obtain AgNPs of desired size and morphology. During standardization, the initial assessment of nanoparticle formation was done by observing the colour change of the solution. The CLW extract imparted a characteristic yellow colour. Interestingly, reaction between AgNO3 and extract led to a change in colour from yellow to reddish brown. This may be attributed to the surface plasmon resonance (SPR) of biosynthesized AgNPs [42]. Optimum parameters for biosynthesis of AgNPs were further confirmed by studying their SPR absorption band since it provides vital information regarding size and number of nanoparticles formed [9, 42].

The first parameter considered for standardization was concentration of CLW extract. All reaction tubes displayed a distinct colour change from yellow to reddish brown. It was further observed that lower extract concentration (1 ml and 2 ml) did not yield a prominently sharp absorption peak (Fig. 1). However, when the volume of the extract was increased to 3 ml, a sharp peak was noted at 422 nm wavelength. This may be attributed to the formation of small sized AgNPs. Further increase in extract concentration to 4 ml and 5 ml caused the absorption peak to shift to 436 nm and 445 nm respectively. These peaks also exhibited evident broadening thereby, suggesting an increase in nanoparticle size. Higher concentration of CLW extract provides more reducing agents that might abruptly accelerate the process of nucleation and affect the growth of nanoparticles [43]. Based on these results, 3 mL CLW extract was considered optimum for producing desired AgNPs.

Fig. 1
figure 1

UV–visible spectra of biosynthesized AgNPs at different CLW extract concentration (1 ml, 2 ml, 3 ml, 4 ml, 5 ml)

The next factor considered for optimization was AgNO3 concentration (Fig. 2). For this, AgNO3 concentrations ranging from 0.5 to 2.5 mM were considered. AgNPs synthesized using 0.5 mM AgNO3 showed sharp absorption peak at 424 nm (Fig. 2). It was further observed that the peak shifted to wavelengths 445 nm and 437 nm in the reaction system containing 1.0 mM and 1.5 mM AgNO3 respectively. Also, further increase in AgNO3 concentration to 2.0 mM and 2.5 mM yielded AgNPs that displayed broad peaks at 424 nm and 408 nm respectively. Based on these findings, 0.5 mM AgNO3 was considered as the optimum concentration for biosynthesizing AgNPs.

Fig. 2
figure 2

UV–visible spectra of biosynthesized AgNPs at different AgNO3 concentration (0.5 mM, 1.0 mM, 1.5 mM, 2.0 mM, 2.5 mM)

The third parameter considered for optimization was temperature (Fig. 3). There was no characteristic colour change observed in the reaction system incubated at room temperature. Also, UV–visible spectral analysis of this system, displayed no significant peak in the wavelength range of 400–500 nm (Fig. 3). AgNPs synthesized at 100 °C displayed broad SPR absorption band at 421 nm. On the other hand, AgNPs synthesized by microwave assisted heating produced sharp absorption peak at 411 nm. Microwave mediated synthesis, as compared to conventional heating, facilitates rapid heating and facilitates nucleation of metal nanoparticles thereby, aiding in nanoparticle synthesis [44]. Thus, due to favourable kinetics and rapid nanoparticle synthesis, microwave assisted heating was considered as the preferred condition for producing AgNPs in the current study.

Fig. 3
figure 3

UV–visible spectra of biosynthesized AgNPs at different temperature conditions (room temperature, microwave 600 W, 100 °C)

The final parameter considered for optimization was pH. pH influences nanoparticle synthesis by altering the charges of biomolecules [45]. Owing to the charge alteration, nanoparticle synthesis is suppressed at acidic pH and enhanced at alkaline conditions [9]. In the present study, the unaltered pH of the reaction mixture was 5.5. At this pH, SPR band of biosynthesized AgNPs was observed at 445 nm (Fig. 4). Increase in pH of the reaction system to 6.5 displayed evident absorption band broadening. Further increase in pH to 7.5 and 8.5 caused spectral shift of SPR absorbance band to 425 nm and 411 nm respectively. However, the absorption peak obtained at pH 7.5 was noted to be broad in size. On the other hand, a sharp narrow peak was seen at pH 8.5, indicating synthesis of small sized AgNPs. Further increase in pH to 9.5 led to a decrease in the absorbance intensity and peak broadening at 411 nm. Based on these findings, pH 8.5 was considered optimum for biosynthesis of AgNPs. Based on the above results, the optimized reaction parameters considered for biosynthesizing AgNPs were: 3 ml CLW extract, 0.5 mM AgNO3, pH 8.5 and microwave assisted heating at 600 W for 5 min. These biosynthesized AgNPs were observed to be stable for one month when stored at room temperature.

Fig. 4
figure 4

UV–visible spectra of biosynthesized AgNPs at different pH (5.5-unaltered, 6.5, 7.5, 8.5, 9.5)

3.2 FT-IR analysis

FT-IR analysis was performed to detect functional groups of biomolecules in CLW extract that may be responsible for reducing silver ions. The FT-IR spectra of CLW extract showed prominent absorption bands at 3404.74 cm−1, 1622.51 cm−1, 1508.12 cm−1, 1410.99 cm−1 and 1078.93 cm−1 (Fig. 5a). 3404.74 cm−1 and 1622.51 cm−1 correspond to O–H stretching in carboxyl and amino groups present in amino acids and stretching vibrations of aliphatic C=C group respectively [46, 47]. The absorption band at 1508.12 cm−1 represent amide II in protein [48]. The absorption band at 1410.99 cm−1 represent stretching vibrations of C=O groups in aromatic rings [46]. On the other hand, absorption peak at 1078.93 cm−1 are due to ether linkages that may be contributed by flavanones present in the extract [49].

Fig. 5
figure 5

a FT-IR spectra of CLW extract. b AgNPs synthesized using CLW extract

It was observed that purified AgNPs spectra showed shift in the peaks along with reduced absorption band intensities at 3452.60 cm−1, 1638.61 cm−1, 1601.59 cm−1 and 1411.60 cm−1 (Fig. 5b). These results indicate that −OH functional group, aliphatic C=C and C=O groups in aromatic rings could be the contributing factor aiding in reduction of silver and stabilization of AgNPs. Additionally, FT-IR spectra of AgNPs also revealed disapperance of absorption bands previously observed in CLW extract at 1508.12 cm−1 and 1078.93 cm−1 indicating that functional groups in proteins and flavonoids could also be the possible attributing factors. FT-IR spectra of AgNPs also displayed additional low intensity peaks at 2926.27 cm−1, 2854.65 cm−1, 1036.39 cm−1 and 1008.24 cm−1 that correspond to C–H bond stretching, bending vibrations of C–OH and C–O bonds respectively [17, 46]. These reducing functional groups have been reported to facilitate formation of stable metal nanoparticles due to their strong affinity towards metal ions. The current findings thus suggest that CLW extract possesses the necessary functional groups required for mediating biosynthesis of stable AgNPs.

3.3 XRD analysis

Crystalline nature of biosynthesized AgNPs was studied using XRD analysis. The Bragg’s reflection was observed at 38.4°, 44.3°, 64.2° and 77.3° and indexed at 111, 200, 220, and 311 facets of the face centred cubic crystal (fcc) structure. These values agree well with those reported for silver (face centre cubic structure) by joint committee on powder diffraction standards, File No. 04-0783. On further substituting the wavelength value of 1.5404 Å in Scherrer’s formula D = (0.9 λ × 180°)/βcosθ, the average grain size of biosynthesized AgNPs was found to be 10 nm. The XRD data confirms that biomolecules in CLW extract reduced silver ions to silver metal.

3.4 FEG-SEM analysis

Shape and surface morphology of biosynthesized AgNPs was assessed by FEG-SEM analysis. The surface morphology of biosynthesized AgNPs indicated that they were predominantly even shaped and spherical in nature (Fig. 6).

Fig. 6
figure 6

SEM image displaying spherical shape of biosynthesized AgNPs

3.5 TEM and SAED pattern study

TEM analysis revealed the spherical morphology of biosynthesized AgNPs (Fig. 7a). The size of nanoparticles ranged between 5 and 50 nm (Fig. 7b). The crystalline nature of AgNPs was studied by SAED pattern analysis. The results of SAED analysis were in agreement with that of XRD. The characteristic diffraction rings were indexed as (111), (200), (220) and (311) which are consistent with fcc lattice structure typically observed for AgNPs.

Fig. 7
figure 7

a TEM image of biosynthesized AgNPs. b SAED pattern of biosynthesized AgNPs

3.6 XPS analysis

Figure 8 displays XPS spectrum of AgNPs in the range of 0–1300 eV. The spectrum revealed high resolution XPS signal of Ag 3d region confirming the presence of Ag. The Ag 3d region displayed characteristic peaks at 374.08 eV and 368.08 eV which are attributed to Ag 3d3/2 and Ag 3d5/2 orbits of metallic silver [50]. A peak at 284.68 eV was noted in C(1s) spectrum corresponding to C–O bond which is in accordance with the above FT-IR results [51]. The O(1s) region displayed an intensity at binding energy 532.68 eV which also corresponds to the interaction between carbon and oxygen in C–O bond [52]. Thus, the above XPS results provide strong evidence of presence of metallic Ag in our biosynthesized nanoparticles.

Fig. 8
figure 8

XPS spectrum: Ag 3d peak scan

3.7 BET analysis

BET analysis of AgNPs was conducted for determining average size, surface area and pore size of nanoparticles [53]. The surface area and average pore radius of biosynthesized AgNPs were found to be 19.22 m2/g and 7.1 mm respectively. Considering that the nanoparticles were found to have spherical shape in TEM-imaging, BET results were further used to calculate average equivalent particle size by using the equation DBET = 6000/(ρSw) (in nm) where, DBET is the average diameter of a spherical particle, Sw represents obtained surface area of the powder in m2/g, and ρ is the theoretical density in g/cm3 [54]. The analysis revealed the average nanoparticle size to be 35.08 nm. Table 1 displays BET experimental results of biosynthesized AgNPs. The DBET nanoparticle size value was found to be within the range obtained using TEM-SAED imaging.

Table 1 BET results of biosynthesized AgNPs

3.8 Photocatalytic degradation of MB dye

Synthetic dyes are commonly used in textiles, paper, adhesives, cosmetics, food, ink, medicines etc. [3]. MB is a heterocyclic azo dye which is commonly released through the effluents of textile industries. It depletes oxygen from the surface of water bodies which in turn affects aquatic flora and fauna. In addition to being an environmental hazard, it is also known to cause toxicity in humans [3]. Hence, degradation of MB dye in effluents is highly warranted in order to eradicate its deleterious effects. AgNPs of appropriate size and shape possess high surface area to volume ratio that enable them to act as excellent catalysts in dye degradation [17–19]. The current study investigated the potential photocatalytic activity of biosynthesized AgNPs against MB. MB solution underwent visible colour change on addition of nanoparticles. Initially, the colour of MB solution was deep blue which later turned dark green on addition of AgNPs. Subsequently, under sunlight exposure, the intensity of dark green colour further reduced with increase in time. The extent of degradation of MB using biosynthesized AgNPs was monitored by UV–visible spectrophotometer. The absorption maxima for MB was found to be centred at 664 nm wavelength. The control MB solution which was also exposed to sunlight showed no significant colour change and MB degradation (Table 2). However, in the presence of AgNPs, a reduction in MB absorption band was noted with increase in time (Fig. 9). Maximum photocatalytic degradation of MB was assessed by noting the time required for the MB absorption band to approach the baseline. Based on this principle, the maximum percentage of nanoparticle-mediated MB dye degradation was found to be 97.57% at 150 min (Table 2).

Table 2 Percentage degradation of MB dye
Fig. 9
figure 9

UV–visible spectra of methylene blue dye in the presence of biosynthesized AgNPs at different time intervals

Kinetic parameters and correlation coefficients are presented in Table 3. Linear regression of ln (C/C0) (where, C = concentration of dye at time (t) and C0 = concentration of dye at time 0 h) confirmed pseudo-first order nature of reduction of MB dye in presence of AgNP catalyst (Fig. 10). As seen in the table, the photodegradation reaction occurred almost 9 times faster in presence of AgNPs thereby, highlighting its significance in dye degradation. AES results showed that MB dye solution alone without AgNPs contained 0.013 mg/l Ag+. The supernatant obtained after maximum MB degradation using AgNPs contained 0.103 mg/l of Ag+, thereby indicating an increase of 0.09 mg/l Ag+ ions in the solution. However, it should also be noted that this observed increase in silver ions in the solution after the reaction is well within its permissible limit in water (0.1 mg/l) as per the guidelines recommended by the World Health Organization (WHO). Table 4 highlights previous research done on MB dye degradation using AgNPs as photocatalyst in the presence of sunlight. Based on these findings, it can be concluded that our biosynthesized AgNPs can act as efficient photocatalyst in MB dye degradation without causing any significant silver leaching. However, further studies assessing the ability of these AgNPs in degrading MB in industrial effluent samples are warranted to further corroborate the current findings.

Table 3 Summary of kinetic parameters of degradation reaction of MB dye
Fig. 10
figure 10

ln(C/C0) versus time (min) plot for the photodegradation of MB dye

Table 4 Comparison of results of current study with previously reported data on AgNP mediated photocatalytic degradation of MB dye in presence of sunlight

Further, the study used phenol as a colourless organic pollutant for proving that the fading of MB dye was due to photodegradation and not dye sensitization. The UV–visible spectrum of phenol was studied for evaluating its degradation under sunlight in the presence of biosynthesized AgNPs. The absorption band of phenol at 270 nm decreased in the presence of AgNPs, whereas no change in absorption spectrum was noted in the control phenol solution without AgNPs (Fig. 11a, b). This nanoparticles mediated prominent reduction in phenol confirms that AgNPs facilitate photocatalytic degradation.

Fig. 11
figure 11

a UV–visible spectra of phenol in presence of biosynthesized AgNPs. b UV–visible spectra of phenol in absence of AgNPs

Active species trapping experiment was performed for determining the mechanism of observed photodegradation (Fig. 12a, b). The addition of IPA resulted in significant decrease in photocatalytic degradation wherein, only 22.56% of MB was degraded after 150 min. Addition of triethanolamine to the reaction mixture caused a dye reduction of 63.03%. Conversely, deoxygenation of MB solution resulted in negligible change in the degradation. This suggests that hole (h+) and hydroxyl •OH radical act as main active species in the photodegradation process of MB dye using our biosynthesized AgNPs. Based on these observations, the possible mechanism of photodegradation is proposed in Fig. 12b. When the MB dye and AgNP system is irradiated with sunlight, electrons in the valance bond (VB) are excited to conduction bond leading to same number of holes (h+) in the VB. The photo-generated electrons in the catalyst are captured by O2 leading to formation of ·O2, which in turn forms OH· and further oxidize MB dye to form CO2 and H2O. On the other hand, h+ holes react with existing OH to form OH· which in turn aids in photodegradation of the dye. However, in the current system the photo-induced •OH are suggested to play the most vital role in photodegradation of MB dye as maximum inhibition of dye degradation was observed in the reaction system containing its quencher i.e. IPA.

Fig. 12
figure 12

a Effect of different radical scavengers on the photocatalytic degradation of MB dye using biosynthesized AgNPs. b Possible photocatalytic mechanism of biosynthesized AgNPs in degradation of MB dye

The results of photodegradation of MB dye using recycled AgNPs for every run are displayed in Fig. 13. The recycled AgNPs demonstrated good photocatalytic activity up to four successive cycles. However, it was noted that the time required for attaining maximum MB degradation increased with each cycle. Based on these results, it can be concluded that our biosynthesized AgNPs act as efficient photocatalyst with good stability and reusability. These AgNPs can be recycled for long-term application in the degradation of MB dye.

Fig. 13
figure 13

Reusability of biosynthesized AgNPs in MB dye degradation. (1st cycle-black, 2nd cycle-red, 3rd cycle-blue, 4th cycle-green)

3.9 Biosensing of Hg2+ ions

Mercury ions are considered to be one of the most toxic heavy metal ions that can severely impact human health and other living organisms. Several conventional detection methods are used for detecting Hg2+ ions such as inductive coupled plasma mass spectrometry, atomic absorption spectroscopy, fluorescent sensors and electrochemical methods [59,60,61,62]. However, these techniques face limitations due to their cost, time-consuming sample preparation and complex experimental procedures [63]. Alternatively, simpler methods such as colorimetric assays have gained immense attention due to their simple and rapid principle of Hg2+ detection [63, 64]. Amongst these, silver and gold nanosensor based colorimetric assays are considered promising owing to their unique physicochemical properties. However, AgNPs are considered to be more effective as sensors as compared to gold nanoparticles due to their cost-effectiveness and high extinction coefficients [64].

In view of this, the present study evaluated the possible application of as-synthesized AgNPs as biosensors for Hg2+ detection. The specificity of as-synthesized AgNPs for Hg2+ was studied by noting their reaction with other metal cations such as, Co2+, Pb2+, Mn2+, Mg2+, Zn2+, Ni2+, Na+, K+, Ba2+, Cu2+, Al3+, Fe3+ in addition to Hg2+ ions. It was found that colour of the reaction mixture of Hg2+ ions and as-synthesized AgNPs changed from brown to pale yellow (Fig. 14). This colour change may be attributed to the redox reaction between zero valent silver and divalent mercury ions. A probable mechanism of interaction between AgNPs and Hg2+ has been proposed in (Fig. 15). Upon interaction of Hg2+ solution with as-synthesized AgNPs, decrease in the absorbance intensity was noted due to redox reaction between silver and mercury ions leading to aggregation and Ag-Hg amalgam formation [65]. Redox reaction happens due to the fact that standard reduction potential of Hg2+/Hg (0.85 V) is higher than that of Ag+/Ag (0.80 V) [66]. Thus, oxidation of Ag0 to Ag1+ (of AgNPs) changes the colour of the reaction solution from brown to pale yellow. In contrast, no colour change was observed when as-synthesized AgNPs were added to other metal ion solutions. Most of the transition metals, alkali and alkali earth metals cannot oxidize Ag0 to Ag1+ as their standard reduction potential are lower than that of Ag+/Ag [66]. These results show that the colorimetric sensor method developed using as-synthesized AgNPs is highly specific for Hg2+ ions.

Fig. 14
figure 14

Image displaying reaction between various metal ions and as-synthesized AgNPs

Fig. 15
figure 15

Schematic illustration of mercury sensing

Considering the specificity results, we further evaluated the sensitivity of our silver nanosensors for Hg2+ ions. For this, varied concentrations of Hg2+ solutions were tested with as-synthesized AgNPs. UV–visible spectral analysis was carried out for studying the interaction between Hg2+ ions and as-synthesized AgNPs. A visible colour change from brown to pale yellow was observed when as-synthesized AgNPs were added to 20, 1, and 0.1 mg/l Hg2+ solutions (Fig. 16). These findings were further supported by spectrophotmetric analysis wherein, a decrease in nanoparticle SPR absorption band intensity was noted at 411 nm wavelength. This decrease in absorption band intensity highlights possible interactions between Hg2+ ions and AgNPs (Fig. 17). However, no colour change was observed in reaction sets with 0.01 and 0.001 mg/l Hg2+ ions. This indicates the lack of sensitivity of AgNPs for these Hg2+ concentrations. Based on these findings, the limit of Hg2+ detection by as-synthesized AgNPs was concluded to be 0.1 mg/l. Table 5 summarizes the limit of Hg2+ detection obtained in previous studies using as-synthesized AgNPs. These results show that as-synthesized AgNPs of the current study can serve as highly sensitive biosensors for selectively detecting Hg2+ ions.

Fig. 16
figure 16

Image displaying reaction between different concentrations of Hg2+ ions (20 mg/l, 1 mg/l, 0.1 mg/l, 0.01 mg/l, 0.001 mg/l) and as-synthesized AgNPs

Fig. 17
figure 17

Absorption spectra of AgNPs in the presence of different Hg2+ ions concentrations (20 mg/l, 1 mg/l, 0.1 mg/l)

Table 5 Comparison of studies on Hg2+ sensing using as-synthesized AgNPs

4 Conclusion

In summary, the present study demonstrated that a natural renewable biomass such as cauliflower vegetable waste could be utilized as a biological source for biosynthesizing AgNPs with diverse environmental applications. The green method used for biosynthesis of AgNPs was reliable, eco-friendly, cost-effective and less time-consuming. UV–visible spectroscopy results indicated a signature absorption band for AgNPs. Further characterization revealed that the unique molecular composition of CLW extract provided the necessary reducing agents for nanoparticle synthesis. Biosynthesized AgNPs further displayed promising photocatalytic activity for degrading MB dye. These nanoparticles also demonstrated efficient colorimetric sensing ability for detecting Hg2+ ions. Based on these results, it can be concluded that these biosynthesized AgNPs can serve as a remarkable multipurpose tool for degrading MB dye in industrial effluents and detecting mercury based environmental pollutants.