1 Introduction

Green nanotechnology is a method that focuses on creating nanomaterials in a sustainable and eco-friendly way. It aims to address the environmental and health issues associated with traditional synthesis methods. This field is dedicated to minimising hazardous chemicals, reducing energy consumption, and minimising waste generation during synthesis. Nanoparticles synthesised using green methods possess distinct properties and functionalities, rendering them highly promising for various applications, including healthcare, energy, agriculture, environmental remediation, and consumer products. For instance, they find applications in targeted drug delivery systems, antimicrobial coatings, pollution remediation, and renewable energy technologies. The biocompatibility and sustainability of green nanomaterials offer exciting opportunities to tackle global challenges while reducing environmental impacts. Exploring the significance of green nanotechnology and its diverse applications has the potential to shape a sustainable and technologically advanced future [1,2,3,4,5].

The expeditious production of noble metal nanoparticles has garnered significant interest because of their distinct and captivating features absent in the macroscopic phase. Metal nanoparticles possess a notable level of photocatalytic efficacy and have demonstrated potential in several biological applications [6]. Moreover, metal nanoparticles exhibit distinctive physical and chemical properties, making them a distinct class of materials that find extensive utility across various disciplines such as biomedicine [7], biosensing technology [8], catalysis [9], tissue engineering [10], food packaging [11], and environmental sciences. The synthesis approach, "chemical and physical," encompasses several stages. Various methods have been previously used for the synthesis of silver nanoparticles, including sol–gel techniques, traditional chemical reduction, reverse micelle, co-precipitation, chemical vapour deposition, solvothermal, electrochemical reduction, ball milling [12,13,14,15], laser ablation [16], evaporation–condensation [17], electromagnetic levitation gas condensation [18], ultrasonication [19], lithography [20], and spray pyrolysis[21], radiolysis [22], arc discharge [23], and photoirradiation [24] were all previously employed to make silver nanoparticles. Previous investigations have employed a range of biological entities, including bacteria [25], fungi [26], viruses [27], yeasts [28], plants [29], plant extracts [30], microalgae [31], enzymes [32], saccharides [33], and vitamins [34]. The green synthesis of Ag nanoparticles has gained significant attention because of its cost-effectiveness, simplicity, scalability, environmental sustainability, and diverse array of plant-derived metabolites. Numerous herbal treatments have been employed in diverse medical systems to treat and manage various illnesses.

Bamboo plants have historically been employed in many traditional treatment systems to treat various human diseases. B. vulgaris is classified within the taxonomic family Poaceae. Bamboo leaves contain several flavonoids, such as homoorientin, orientin, isovitexin, vitexin, aringin-7-rhamnoglucoside, rutin, quercetin, luteolin, tricin, caffeic acid, chlorogenic acid, and hydroxycoumaric acid, as reported in previous studies [35, 36]. The plant under investigation has been documented to possess many phytochemical constituents, including carbohydrates, glycosides, saponins, alkaloids, flavonoids, phenolics and tannins, phytosterols, triterpenoids, oils, and lipids [37,38,39]. Studies have shown that silver nanoparticles produced from bamboo leaves have strong antibacterial effects on different types of bacteria. A study conducted by Jeyarambabu et al. demonstrated the use of Bambusaarundinacea leaf extract in the bio-fabrication of silver nanoparticles. This approach offers a promising and environmentally friendly alternative to the traditional chemical methods of producing Ag NPs. The AgNPs synthesized with the help of bamboo exhibited remarkable antibacterial effectiveness against both Gram-positive and Gram-negative pathogenic microorganisms. They demonstrated strong antioxidant activity against DPPH free radicals, indicating their potential as effective antioxidants. In addition, the Ag NPs exhibited strong anti-cancer properties against MCF-7 cell lines, suggesting their potential as a therapeutic agent [40]. The extract utilized in the preparation of silver nanoparticles has shown encouraging outcomes in reducing the organic pollutant methylene blue (MB). The silver nanoparticles (Ag-NPs) produced through the use of Cytobacillus firmus extract exhibited strong antibacterial and antifungal properties against a range of microorganisms, such as Escherichia coli, Enterococcus feacalis, Pseudomonas aeruginosa, Staphylococcus aureus, and Candida albicans. Ag-NPs exhibited a significant level of biodegradability (98%) for methylene blue (MB) dye within 8 h of co-incubation under sunlight. The water sample contaminated with MB dye displayed promising results in terms of Vicia faba germination, suggesting that the purified water could be effectively reused for agricultural applications [41]. In a recent study, Rajeshree Patwari and her colleagues showcased their findings on synthesising silver nanoparticles (AgNPs) through the solution combustion synthesis (SCS) technique. This method led to the creation of well-defined, crystalline AgNPs at the nanoscale. The synthesised silver nanoparticles exhibit promising antimicrobial properties against various bacteria, including S. aureus, B. subtilis, P. aeruginosa, and E. coli. Among these, B. subtilis appears to be the most vulnerable to nanoparticle effects. The AgNPs also demonstrate exceptional photocatalytic activity in the degradation of indigo carmine dye [42]. In 2023, Muhammad Ateeb et al. conducted a study that focused on fabricating silver nanoparticles (AgNPs) using Grewia asiatica leaf extract. The researchers also analysed the optical and physicochemical properties of these nanoparticles. When exposed to visible light, agNPs demonstrated significant photocatalytic activity in deleting crystal violet dye. AgNPs exhibited significant antibacterial effects against gram-positive and gram-negative bacteria and notable anti-inflammatory and anti-arthritic properties. The utilisation of Grewia asiatica leaf extract in the synthesis of AgNPs offers a sustainable and environmentally conscious method for their production. The results emphasise the wide range of applications for AgNPs, both as a highly effective photocatalyst and as a valuable tool in the biomedical field [43]. The antibacterial properties of this substance are highly effective and have potential use in the pharmaceutical industry [44]. The evaporation flow and thermal stability are greatly enhanced by synthesising SiO2 nanoparticles using bamboo leaf ash [45]. A comprehensive investigation of the non-toxicity mechanism of biosynthesised silver nanoparticles necessitates the use of bamboo leaf extract as a means to characterise their properties thoroughly. It is particularly relevant in their potential application in medical treatments to reduce blood sugar levels [46]. The current study involved the synthesis of ion-free silver nanoparticles using bamboo leaf extract. The reductions were achieved using compounds derived from an extract, which served as the reducing agent. Dyes play a significant role in both the printing and textile industries. Their effluent discharge was dispersed into the aquatic ecosystem, introducing pigmented substances and dye molecules resistant to degradation. The dissemination of dyestuffs contributes to the proliferation of numerous diseases on a global scale. Methylene blue is commonly employed in textile printing despite its known environmental toxicity and potential to induce carcinogenic illnesses. Several techniques exist for removing dye from the environment, including flocculation, redox reduction, adsorption, and photocatalysis [47,48,49,50]. Photocatalysis is a notable and efficient approach for eliminating organic compounds because of its convenience and compact nature. This study focused on analysing the structural, optical, and morphological properties of the synthesised silver nanoparticles. In addition, the photocatalytic endurance of these nanoparticles against the MB dye under visible light energy was observed.

2 Experimental section

2.1 Materials

The chemicals used in this study, namely silver nitrate (AgNO3) and methylene blue dye, were obtained from HiMedia, a reputable supplier based in India. The compounds were processed and synthesised without undergoing purifying procedures. The solvent used in the experiment was double distilled water.

2.2 Preparation of the plant extract

The leaves of B. vulgaris were gathered in Tirunelveli, India. The leaves were subjected to a two-stage washing procedure, initially with flowing tap water followed by double distilled water, to remove any soil particles and foreign matter that may have been present. A quantity of 10 g of B. vulgaris leaves, which had undergone prior cleaning, was added to 100 mL of double distilled water. The mixture was subsequently heated to a temperature of 60 °C and maintained for 30 min. The extract underwent filtration using Whatman No: 1 filter paper. The resultant supernatant was then collected and stored at a temperature of 4 °C for future utilisation.

2.3 Synthesis of the Ag nanoparticles

10 ml of B. vulgaris leaf extract was mixed with 90 mL of a 0.1 M AgNO3 solution. A magnetic stirring apparatus then agitated the solution at a uniform rotational velocity. The transparent liquid underwent a chemical change, forming a deep brown colour, which suggests the rapid formation of silver nanoparticles. The solution was treated to a washing process using double distilled water and subsequently underwent centrifugation at a speed of 5000 rpm for 10 min. The solution was filtered with Whatman No. 1 filter paper and dried in a hot air furnace at 100 °C for one hour. The collected samples were finely pulverised into a powdered form using a mortar and pestle, and this resulting powder was later employed for further characterisationendeavours.

2.4 Characterisation of the Ag nanoparticles

Structural evidence was obtained using an X-ray diffractometer (PANalytical X-Pert Pro-2θ range of 10°-80°), while morphological data were gathered using a transmission electron microscope named TEM, Philips CM200. The optical properties were determined using Fourier transform infrared spectroscopy (FTIR-Perkin Elmer-4000 cm-1 to 400 cm-1) and UV–visible spectrophotometry (PerkinElmer Lambda-35 UV–visible range from 200 to 800 nm). The luminescent properties were observed using a photoluminescence (PL) spectrofluorometer model PC1 manufactured by ISS in the United States. The surface characteristics and elemental composition were documented using scanning electron microscopy with energy-dispersive X-ray spectroscopy (SEM–EDX) conducted using a Carl Zeiss instrument.

2.5 Photocatalytic activity of the Ag nanoparticles

This study used silver nanoparticles to investigate the photocatalytic degradation of methylene blue dye, a representative model dye for textile dye pollution. The utilisation of visible light energy as a light source is achieved through a xenon lamp. The catalyst (10 mg) was initially suspended in a 100 cc MB dye solution. The catalyst was maintained in a dark environment for 60 min to achieve adsorption equilibrium. Subsequently, the solutions were introduced into a light chamber and subjected to continuous irradiation using a xenon lamp with a wavelength greater than 400 nm. The irradiation samples were periodically removed at 30-min intervals. The collected samples underwent centrifugation at a speed of 5000 rpm to separate the catalyst from the dye solution. In addition, the samples underwent filtration and were subjected to measurement using UV–Vis spectroscopy at a wavelength of 655 nm. The equation below determined the dye molecules' dissociation and efficiency.

$$ {\text{Photocatalytic}}\;{\text{dye}}\;{\text{degradation}}\left( \% \right) = \left( {{\text{Co}}{-}{\text{Ct}}} \right)/{\text{Co}} \times 100 $$

where the primary dye concentration is Co (without irradiation) and the concentration of the dye at the reformed irradiation periods is Ct [51].

3 Results and discussion

3.1 UV–Vis spectral results

The confirmation of the formation of silver nanoparticles is evidenced by the observed colour transformation from a light green colour to a dark brown shade. The surface plasmon resonance scattering effect is well-organised at silver nanoparticles positioned at a wavelength of 450 nm, as depicted in Fig. 1 [52]. The absence of a peak in the valence silver can be attributed to the hindrance of electron movement from the conduction band due to the enormous size of its particles. The peaks observed at 0 min correspond to the initial interaction between the extract and silver nitrate solution. Upon initiating the interaction, it was observed that the B. vulgaris leaf extract facilitated the promotion of electrons, resulting in the oxidation and reduction of the silver nitrate solution. After 30 min, the reactions were concluded and verified by observing colour alterations. The absorbance of the completed reactions was found to be higher, resulting in a distinct peak compared with the reactions at 0 min, as illustrated in Fig. 1. The presence of a distinct peak indicated the development of silver nanoparticles with valence-free characteristics, whereas the broadening of the peak's breadth at half maximum provided information about the size distribution of the particles. The B. vulgaris leaf extract may exert control and resistance over the nucleation and growth of nanoparticles through its ability to influence the size and dispersion of the particles [53]. The silver metal exhibits a significant increase in size at 0 min, and the presence of peaks corresponding to silver nanoparticles verifies the reduction of silver metal ions to form silver nanoparticles. Electron-mediated transmission of reactions was observed in the leaf extract of B. vulgaris. Furthermore, B. vulgaris leaf extract electrons have been observed in encapsulating the synthesised nanoparticles. This extract plays a crucial role in regulating the agglomeration of particles during the synthesis procedure and is responsible for their stabilisation.

Fig. 1
figure 1

UV –visible spectrum of the synthesised silver nanoparticles

3.2 FT-IR analysis

The chemical constituents accountable for reducing Ag + ions to Ag nanoparticles were investigated using FT-IR spectroscopy. The spectral analysis results obtained are depicted in Fig. 2. The wavenumber of 2846 cm−1 corresponds to the observation of a band, which is associated with the symmetric stretching of CH3 groups [54]. The absorbance peak detected at 2343 cm−1 [55] in the leaf extract indicates the presence of hydroxyl functional groups of alcohols and phenolic substances. As reported in reference, the peak detected at a wavenumber of 1583 cm−1 is frequently linked to the N–H bending vibration of primary and secondary amines [56].The presence of two prominent peaks at 1312 cm−1 and 1152 cm−1 might be ascribed to the stretching vibrations of C–O and C–O–C bonds, respectively, as reported in previous studies [57, 58]. The peak prominent at a wavenumber of 1005 cm-1 is ascribed to the vibrational modes of the N–H bonds in primary and secondary amines [59]. The peak observed at 748 cm−1 is attributed to the vibrational mode of the –CN bond in the benzene ring [60]. Bamboo foliage comprises diverse bioactive constituents, such as flavonoids, glycosides, phenolic acids, coumarin lactones, anthraquinones, and amino acids [35]. The leaves possess phytochemical compounds that have dual roles as reducing and capping agents during synthesis. In contrast to chemical reduction approaches, using leaf extract biomolecules to expedite reduction processes presents a more ecologically sustainable strategy. The reducing capabilities of flavonoids have been found, whereas the encapsulation of the synthesised nanoparticles is attributed to carboxylic and phenolic acids [61].

Fig. 2
figure 2

FT-IR spectra of the synthesised silver nanoparticles

3.3 XRD analysis

X-ray diffractograms depicting the synthesised Ag nanoparticles through the use of Bambusa vulgaris leaf extract are presented in Fig. 3a and b. Crystallographic peaks were found at (111), (200), (220), and (311), with matching 2θ theta values of 38.09°, 44.06°, 64.25°, and 77.21°. The presence of plant phytomolecules is indicated by excess peaks in conjunction with silver [62, 63]. Plant-derived phytomolecules can serve as reducing agents, stabilisers, or both in nanoparticle production. The leaf extract phytomolecules may be possible reducing agents in forming silver nanoparticles, with the synthesised nanoparticles likely containing phytomolecules on their surface [62, 63]. Consequently, the centrifugation procedure was conducted iteratively, ranging from 7 to 8 repetitions, to exclude the presence of surplus plant-based substances that may have caused contamination. Furthermore, we have obtained a set of five unique diffraction standard peaks for silver at specific angles: 38.09º, 44.06º, 64.25º, 77.21º, and 81.11º. These angles correspond to their respective crystalline planes (111), (200), (220), (311), and (222), accordingly. The planes observed strongly resemble the face-centred cubic structure described in the JCPDS card no. 89–3722 [64]. The X-ray diffraction (XRD) pattern displays distinct and pronounced peaks, indicating that the Ag nanoparticles synthesised by reducing Ag+ ions with Bambusa vulgaris leaf extract possess a crystalline structure. The peaks observed in the diffractogram correspond to the crystallisation of the silver nanoparticles, as indicated by the assignment. The average crystallite size of the synthesised Ag nanoparticles was determined by employing Debye –Scherrer’s equation, yielding a value of 21 nm. The confirmation of nanoparticle production and the catalytic and enhanced surface areas of the synthesised nanoparticles was indicated by the presence of sharp and high-intensity crystalline peaks, as reported in reference [65].

Fig. 3
figure 3

a X-ray diffraction spectrum of the Ag nanoparticles before centrifugation. b X-ray diffraction spectrum of the Ag nanoparticles after centrifugation

3.4 Morphological analysis

Scanning and transmission electron microscopy were used to look at the morphological features of the synthesised silver nanoparticles. Figure 4a and b present scanning electron microscopyimages of Ag nanoparticles synthesised using Bambusa vulgaris leaf extract as a mediator. These images depict the surface morphology of the nanoparticles, which exhibit a spherical form. The presence of dark spots in the photographs visually indicates the presence of biomolecules. Figure 4d displays the silver nanoparticles' energy-dispersive X-ray (EDX) spectra. The presence of silver metal and its co-occurrence in the sample were verified using elemental analysis, which indicated that they originated from both the plant extract and the instrumental source. The prominent signal observed at 2.8 keV indicates the presence of silver within the obtained silver nanoparticles. Figure 4c displays TEM images ofsynthesised silver nanoparticles using Bambusa vulgaris leaf extract. The images reveal sphericalnanoparticles, which exhibit a polydisperse distribution. The particle distribution analysis indicated a substantial surface area and a homogeneous distribution across the surface [66]. The mean diameter of the synthesised nanoparticles typically falls within the range of approximately 22 nm. The confirmation and validation of the excited electron surface plasmon resonance (SPR) in the synthesised silver nanoparticles is provided by their spherical morphology, as observed through UV–Vis analysis. The enhanced photocatalytic activity of small-sized nanoparticles can be attributed to their increased surface area, which results in a more significant number of active sites on the nanoparticle surface [58,59,60,61,62,63,64,65,66,67]. In addition, a polydispersity attitude has been found to enhance the generation of hot electrons, contributing to improved photocatalytic performance.

Fig. 4
figure 4

a, b SEM, c TEM, and d EDX images of the synthesised silver nanoparticles

3.5 Photoluminescence

Photoluminescence analysis was performed to investigate the optical characteristics of the silver nanomaterial. The excitation of silver nanoparticles occurs at a wavelength of 246 nm [68]. The emission peak observed at a wavelength of 645 nm corresponds to the yellow-green emission, as depicted in Fig. 5. Furthermore, the stimulation of electrons demonstrated the creation of silver nanoparticles, where the excited electrons transitioned from d bands to energy states that surpassed the Fermi level. Energy loss occurs during the scattering process between electron and hole phonons. This scattering process produces absorbed electrons and holes, stimulating the radiation recombination of sp electrons in silver nanoparticles [69]. Excited electrons and holes produce high-energy free radicals, contributing to the wide full width at half maximum (FWHM) observed in synthesised silver nanoparticles. The ability to control surface plasmon radiation is due to this property [70].

Fig. 5
figure 5

Photoluminescence spectra of the synthesised silver nanoparticles

3.6 Photocatalytic activity

The photocatalytic efficacy of the silver nanoparticles was evaluated for the degradation of the methylene blue dye, as depicted in Fig. 6a–c. Dyes comprise numerous poisonous and carcinogenic chemicals that induce adverse health effects in humans and other creatures. Photocatalytic activity encompasses converting light energy into chemical energy, which results in the creation of charge carriers. The first stage of dye degradation using a photocatalyst entails the migration of dye molecules onto the surface of the photocatalytic material. Moreover, after the degradation process, the dye molecule undergoes decomposition due to oxidised chemicals. The outcome exhibits no harmful effects on the environment. The n − π* transition exhibited a maximum absorbance peak at 665 nm [71]. A progressive decline in absorption spectra is noticed as the intensity of light irradiation increases. When exposed to visible light, the ultraviolet–visible (UV–Vis) spectra demonstrated a significant deterioration of 96% for methylene blue. The degradation kinetics was determined using a model based on pseudo-first-order kinetics, which can be characterised as follows:

Fig. 6
figure 6

ac Photocatalytic dye degradation spectrum of Ag nanoparticles

$$-{\text{ln}}\left(\frac{{C}_{t}}{{C}_{0}}\right)=-{\text{kt}}$$

The concentration of the MB dye at time t is denoted as Ct, while C0 represents the original MB dye concentration. The first-order rate constant, denoted by k, is the most intuitively apparent. The dye removal kinetics of the synthesised sample was determined to be 0.02417 min−1.

The degradation mechanisms of the MB dye utilising Ag nanoparticles synthesised as a catalyst are illustrated in Fig. 7. The degradation pathway method is outlined as follows:

$$ {\text{Ag}} + {\text{light}}\;{\text{energy}} \to {\text{V}}.{\text{B}}^{ + } + {\text{C}}.{\text{B}}\left( {{\text{e}}^{ - } } \right) $$
(1)
$$ {\text{C}}.{\text{B}}\left( {{\text{e}}^{ - } } \right) + {\text{O}}_{{2}} \to {\text{O}}_{{2}}^{ \bullet - } $$
(2)
$$ {\text{O}}_{{2}}^{ \bullet - } + {\text{ H}}^{ + } \to {\text{HO}}_{{2}}^{ \bullet } $$
(3)
$$ {\text{HO}}_{{2}}^{ \bullet } + {\text{ H}}^{ + } \to {\text{OH}} + {\text{HO}}^{ \bullet } $$
(4)
$$ {\text{V}}.{\text{B}}^{ + } + {\text{ OH}} \to {\text{HO}}^{ \bullet } $$
(5)
$$ {\text{O}}_{{2}}^{ \bullet - } /{\text{ HO}}^{ \bullet } + {\text{ Dye}}^{ \bullet + } \to {\text{dissociation}}\;{\text{dye}}\;{\text{products}} $$
(6)
Fig. 7
figure 7

Photocatalytic dye degradation mechanism of the silver nanoparticles

When a catalyst is exposed to visible light, the photogenerated holes located at the valence band of the catalyst migrate toward the catalyst surface. Upon reaching the surface, these holes react with hydroxyl (OH-) groups that have been adsorbed onto the catalytic surfaces, forming OH* radicals. The electrons within the conduction band undergo a combination with O2, leading to the formation of the O2 radical. Both radicals facilitate the oxidation of organic molecules on the catalyst surface, forming intermediate organic compounds. Charge carriers are believed to be responsible for the oxidation and reduction of dye molecules. The current study demonstrated a higher catalytic activity level than previously published research [72,73,74,75,76]. Moreover, it facilitates the chemical synthesis process and is an effective agent for wastewater treatment to eliminate organic pollutants.

3.6.1 Mechanism of photocatalytic degradation

The photocatalytic degradation process of methylene blue encompasses a series of sequential steps facilitated by the interplay between the photocatalyst and incident light energy. In the initial stage, methylene blue molecules' adsorption occurs on the photocatalyst's surface, which may consist of a semiconductor or a metal nanoparticle. The phenomenon of adsorption occurs because of electrostatic interactions and the inherent attraction between the catalyst surface and the MB molecule. When the photocatalyst is subjected to illumination, it absorbs photons possessing energy levels that surpass the bandgap of the catalyst. As a result, electron–hole pairs (e and h+) formation occurs. The formation of holes, which are positively charged, occurs when electrons are excited from the valence band to the conduction band. The electrons and holes created by photoexcitation migrate toward the catalyst's surface. Electrons migrate toward surface regions with a more significant potential for reduction events, whereas holes migrate toward regions where oxidation reactions occur. The electrons created by light on the catalyst's surface engage in reduction processes by engaging with either adsorbed oxygen molecules or water molecules. This process generates highly oxidising reactive oxygen species (ROS) like superoxide radicals (•O2) and hydroxyl radicals (•OH). The reactive oxygen species (ROS) on the catalyst's surface initiate a chemical reaction with the adsorbed methylene blue molecules. Hydroxyl radicals (•OH) can extract hydrogen atoms from MB, generating intermediate intermediates. The intermediates generally exhibit reduced colouration and stability compared with the initial methylene blue molecule. The degradation process persists as these intermediate products interact with reactive oxygen species (ROS), breaking these molecules into smaller, less complex forms. The degradation ultimately results in the mineralisation of methylene blue molecules, forming benign byproducts, including carbon dioxide, water, and minute organic fragments. The products and byproducts that have undergone degradation are ultimately desorbed from the catalyst's surface because of alterations in the surrounding chemical environment. The particles are introduced into the solution, eliminating them from the system. The photocatalyst is not depleted during the procedure and can be restored. The recombination of trapped electrons and holes on the catalyst's surface facilitates the restoration of the catalyst to its initial condition, thus enabling it to undergo subsequent cycles of deterioration.

3.6.2 Effect of catalyst concentration

Figure 8 illustrates the impact of the catalyst dosage on the breakdown of MB. The degradation process of methylene blue can be controlled by multiple factors, one of which is the catalyst concentration. Within the framework of degradation reactions, catalysts can either augment or impede the degradation process, depending on the distinct catalyst and conditions of the reaction. Silver nanoparticles can facilitate the degradation of methylene blue when exposed to visible light. Elevated concentrations of catalysts can enhance the degradation rate by offering a more significant number of active sites for adsorption and promoting the production of reactive oxygen species upon absorption of light. Nevertheless, an ideal catalyst concentration may exist, beyond which any additional increments may result in aggregation or shielding phenomena, ultimately diminishing the effectiveness of the catalyst. The user’s statement outlines a research endeavour focused on the degradation of MB dye by implementing Ag Nanoparticles as a catalyst in the presence of solar irradiation. The study is presumed to have examined the impact of varying Ag NPs, ranging from 0.005 mg/mL to 0.02 mg/mL, on the degradation process over 120 min. The alterations in the degradation process were noticed through the use of UV–Vis absorption spectroscopy. UV–Vis absorption spectroscopy is a widely employed method for monitoring variations in the concentration of a chemical substance inside a solution by measuring light absorption at various wavelengths. No additional absorption peaks are observed over the entire procedure, thus verifying the complete breakdown of MB. Furthermore, the degradation pattern exhibits an initial increase in intensity with an increase in the dose of Ag nanoparticles but decreases beyond a dosage of 0.015 mg/mL. Significantly, an increased dose of Ag nanoparticles leads to pronounced opacity, mainly attributed to agglomeration, subsequently leading to enhanced light scattering. As a result, the level of sunlight penetration into the aqueous solution of MB is reduced because of cloudiness. Consequently, the effectiveness of photocatalysis significantly depends on the dosage of Ag. The degradation efficiencies of MB vary depending on the doses of Ag nanoparticles, with recorded values of 65%, 77%, 94%, and 88%, respectively. Table 1 shows degradation efficiency of silver nanoparticles compared with other materials.

Fig. 8
figure 8

The effect of catalyst dosage on the degradation of MB

Table 1 Shows degradation efficiency of silver nanoparticles

3.6.3 Reusability of the catalyst

Figure 9 illustrates the stability of the silver nanoparticles following four cycles. This study assessed the long-term durability and potential for reliability of the finely tuned Ag photocatalyst (at a concentration of 0.015 mg/mL) in the degradation of MB dye using an optimised concentration of 10 µM. This evaluation was conducted over four cycles of sunlight exposure, as depicted in Fig. 9. In every iteration, it is necessary to maintain a constant concentration of MB dye, and the catalyst obtained through centrifugation is utilised for subsequent degradation rounds. After undergoing four iterations, the catalyst exhibits impressive performance and demonstrates notable resilience against degradation driven by light. The RB dye exhibits its most significant degradation after 60 min, yielding 83%, 85%, 90%, and 91% efficiencies for the initial, second, third, and fourth cycles, respectively.

Fig. 9
figure 9

The stability of silver nanoparticles after four cycles

3.7 Antibacterial activity

The chemical exhibits antibacterial activity, which refers to its capacity to eradicate or inhibit the proliferation of microorganisms, thus impeding their ability to replicate. The activity exhibited by the nanoparticles can be attributed to various factors, including the synergistic impact resulting from their combined action, the nuclearity of the molecule, the specific coordination nature of the compounds involved, and the creation of chelates. The Kirby-Bauer disk diffusion method was employed to assess the antibacterial efficacy of nanoparticles. In this experimental procedure, nutritional agar was employed as a culture medium and carefully placed onto a Petri dish with a diameter of 85 mm, reaching a uniform depth of 4 mm. The pH of the medium is maintained within the range of 7.2 to 7.4. The agar media is subsequently inoculated with the chosen bacteria through streaking, where a cotton swab containing the pathogen is swiped across the agar surface in multiple directions. In addition, 6-mm filter paper disks saturated with the appropriate concentration of the prepared samples were systematically positioned on the agar media. The Petri dishes were incubated at 35 to 37 °C for 24 h in a controlled environment. The formation of zones occurs after a specific duration and is quantified within a range of millimetres to determine the antibacterial efficacy of the nanoparticles.

The results of the inhibition zone for silver nanoparticles (NPs) are presented in Table 2. It is evident from the data that the developed material exhibits enhanced resistance against the gram-positive bacterium Staphylococcus aureus, with the silver NPs displaying the largest zone of inhibition. Staphylococcus aureus exhibits a more significant zone of inhibition than Pseudomonas aeruginosa, which can be attributed to the differential concentration of positively and negatively charged ions within both bacterial species. The antibacterial activity of silver nanoparticles is enhanced against the gram-negative bacteria Pseudomonas aeruginosa and Staphylococcus aureus. Figure 10 displays pictures that depict the zone of inhibition.

Table 2 Antibacterial zone of inhibition for silver nanoparticles
Fig. 10
figure 10

Image of the antibacterial zone of inhibition for silver NPs

4 Conclusion

There has been an increasing emphasis on sustainable technological advancements, driven by concerns about significant pollution and global warming shortly. Addressing the issue of removing pollutants from water sources comes with challenges, primarily stemming from the considerable amount of chemicals needed for photocatalyst preparations. Thus, it was discovered that producing biomolecules is more advantageous when creating nanomaterials. During our research, we conducted a study where we successfully synthesised silver nanoparticles using an extract from Bambusa vulgaris leaves. Our research has shown that these nanoparticles effectively remove organic pollutants from water. Based on the structural-based PXRD characterisation, it can be observed that the 2θ values are 38.09, 44.06, 64.25, and 77.21°. This provides evidence that the silver nanoparticles synthesised have a face-centred cubic structure. The grain sizes obtained from the PXRD pattern analysis using the Debye–Scherrer equation resulted in a measurement of 21 nm. The UV–Vis spectra show a distinct peak at 450 nm, indicating the SPR effect of Ag nanoparticles. The FT-IR measurement reveals that the biomolecules present in the extracts are located on the surface of the Ag nanoparticles, resulting in a significant reduction in particle size. Through careful morphological investigations, it was observed that there were random particles present on the surface. Consequently, it exhibits a surface with varying particle sizes. The TEM results indicate that the silver particles synthesised have a spherical shape and an average size of 22 nm. After conducting thorough experimentation, it was observed that the silver particle successfully reduced the ad methylene blue organic pollutant. The degradation efficiency reached 96% after 120 min of visible light illumination. Furthermore, it demonstrates enhanced photostability and reusability following four consecutive cycles. The findings demonstrate the potential for advancing wastewater treatment applications and exploring new instruments in this field.