Introduction

Green nanotechnology is currently a significant area of focus, aiming to facilitate the production of nanotechnology-based products that are eco-friendly and safe for all living beings, while also ensuring sustainable commercial viability1. One key aspect receiving considerable attention is the “green synthesis” of metal nanoparticles, which exhibit unique optical, chemical, photochemical, and electronic properties2. Metal nanoparticles, particularly noble metals, have been extensively studied due to their strong optical absorption in the visible spectrum, which is a result of the collective excitation of free electrons3. Silver nanoparticles (AgNPs) are a notable area of interest among noble metal nanoparticles due to their diverse applications. These applications include nonlinear optics, spectrally selective coatings for solar energy absorption, biolabeling, intercalation materials for electrical batteries, optical receptors, catalysts in chemical reactions4. Interest in AgNPs has grown recently due to their antimicrobial properties, which result from their high surface-to-volume ratio and unique physical and chemical characteristics that differ from those of bulk materials5. Generally, the antibacterial activity of AgNPs is primarily determined by their surface area and their ability to effectively release silver ions. The large surface area of NPs enhances their contact with microorganisms, allowing them to easily attach to cell membranes and penetrate bacterial cells6. The release of ionic silver leads to the inactivation of essential bacterial enzymes, inhibition of DNA replication, and damage to bacterial cytoplasmic membranes, ultimately resulting in cell death7. AgNPs can be synthesized using various physical, chemical, and biological methods. However, most commonly used techniques involve toxic chemicals, hazardous conditions, and expensive equipment8. In contrast, green synthetic approaches are an advancement over traditional chemical and physical methods. They are cost-effective, environmentally friendly, and easily scalable for large-scale production9. These methods do not require high pressure, excessive energy, high temperatures, or toxic chemicals. The green synthesis of AgNPs involves the use of biocompatible ingredients under physiological conditions of temperature and pressure. Additionally, the biologically active molecules that are part of this green synthesis process act as functionalizing ligands, enhancing the suitability of these NPs for biomedical applications10. To date, a variety of biocompatible materials have been used to prepare metallic NPs, including AgNPs11. These materials encompass microorganisms, marine organisms, microfluids, and plant extracts. Among these, plant extracts are particularly significant as bioreductants. They are relatively easy to handle, readily available, low-cost, and have been extensively studied for the green synthesis of other nanomaterials12.

The biomolecules in plants including flavonoids, phenolics, steroids, etc., facilitate the reduction of Ag+ ions from silver nitrate to form AgNPs. This reduction process occurs extracellularly and quickly, resulting in a simple biosynthesis of nanomaterials13. The use of plant materials for synthesizing nanomaterials was first reported by Gardea-Torresdey et al.14. Following this, extensive research was conducted on the bioreduction of various metals to create nanoscale materials in different shapes, suitable for a wide range of applications. For example, Nadagouda et al. reported the preparation of polydisperse spherical AgNPs with sizes ranging from 5 to 100 nanometers, synthesized using aqueous extracts from coffee and tea leaves15. In our recent study, we demonstrated the preparation of spherical AgNPs approximately 20 nanometers in size, using extracts from the aerial parts of the Anthemis pseudocotula Boiss, plant. This extract served a dual purpose as both a reducing and stabilizing agent16. Similarly, in this study, water extract of Ferula communis was used as a green reducing agent.

F. communis, commonly known as giant fennel and belonging to the Apiaceae family, is widely used in traditional medicine to treat various ailments, including headaches, hysteria, dysentery, arthritis, and rheumatism17. This plant also has antiseptic and antihysteric properties and can serve as an analgesic, depilatory, and diuretic18. Furthermore, numerous studies have shown that the root of F. communis, referred to as Al-Kalakh in Saudi Arabia, is effective in treating skin infections and stomach disorders19. Research indicates that isolated compounds from F. communis are rich in bioactive properties, such as anticoagulant20, antioxidant21, anticancer22, and antibacterial activities23. The therapeutic effects of this plant can be attributed to a wide range of phytochemicals that act as bioactive components, including alkaloids, flavonoids, tannins, and phenolic compounds24. So far, numerous investigations have been conducted on different parts of the F. communis plant. According to Rahali et al., the flowers contain ferulic acid and resorcinol, while the stem and fruit consist of ferulic and chlorogenic acids25. Generally, polyphenols possess strong antioxidant properties that can protect against neurological diseases, diabetes, cancer, heart disease, and osteoporosis26. Furthermore, F. communis extracts are rich in ferutinin, which is responsible for many observed effects, including phytoestrogenic, antioxidant, anti-inflammatory, antiproliferative, and cytotoxic properties27. Additionally, ferulenol and ferchromone, which were isolated from various parts of F. communis, exhibit antibacterial properties28.

In the current study, a green synthesis method was utilized to produce AgNPs from the aqueous extract of the aerial parts of F. communis. During the study, various parameters that influence the size and morphology of the synthesized AgNPs (FC-AgNPs) were optimized. These parameters included the concentration of the plant extract, the reaction time, and the incubation temperature. The as-synthesized FC-AgNPs were characterized using a variety of techniques, including UV-Vis absorption spectroscopy, Fourier-transform infrared spectroscopy (FT-IR), X-ray powder diffraction (XRD), and transmission electron microscopy (TEM). Additionally, the antibacterial and antifungal activities of the nanoparticles were evaluated against several bacterial and fungal pathogens (Fig. 1).

Fig. 1
figure 1

Schematic representation of synthesis of silver nanoparticles (FC-AgNPs) using an aqueous extract of the F. communis.

Materials and methods

Plant material

Aerial parts of F. communis were collected in March 2024 from Hail located in the northern region of Saudi Arabia, after all required permissions were secured from the relevant authorities. The plant was taxonomically authenticated by Dr. Rajakrishnan Rajagopal at the Herbarium of the Department of Botany, King Saud University, Riyadh. A voucher specimen (KSU-24692) was deposited in the university’s herbarium for the record.

Chemicals

All chemicals and solvents used in this study were of analytical-grade. Silver nitrate AgNO3 (99.8%) was obtained from Sigma Aldrich (St. Louis, MO, USA). Other organic solvents such as methanol, continuous series of straight-chain hydrocarbons (C8-C31) used in this work were purchased from Sigma Aldrich and were employed as purchased. Muller Hinton Agar, Nutrient broth, Potato dextrose broth, Amoxicillin and Amphotericin B, all the media and antibiotics were procured from HiMedia Pvt Ltd., Mumbai, India.

Preparation of plant extract

200 g of fresh aerial parts of F. communis were chopped into small pieces and soaked in deionized water (2000 mL) and then refluxed for 3 h. The aqueous solution was filtered and further dried in a rotary evaporator at 50 °C under decreased pressure after complete cooling, resulting in 11.6 g of a dark brown powder (FCW)29. Initially, 0.1 g/mL of the powdered extract was utilized for the production of FC-AgNPs.

Synthesis of silver nanoparticles using F. communis (FC-AgNPs)

For each experiment, a 1 mM silver nitrate solution was produced by adding a stoichiometric amount of AgNO3 to deionized water. To prepare the reaction mixture, 1 mL of F. communis aerial parts extract (FCW) solution was added gradually to 99 mL of 1 mM AgNO3 solution in a 250 mL round-bottom flask, equipped with a cooling condenser and magnetic stir bar. The reaction was sustained for 4 h at 90 °C. The mixture’s color changed from pale yellow to reddish brown, confirming the creation of AgNPs. After four hours, no more color change was noticed. Consequently, the mixture was allowed to cool before centrifugation. The centrifugation was subsequently performed at 9000 rpm for 20 min at ambient temperature (25 °C). Subsequently, the reaction product was washed three times with deionized water to yield a black powder, which was then dried in an oven set to 80 °C overnight. The reaction mixture was analyzed by a UV–Vis spectrophotometer during various incubation times, and the absorption peak was detected.

Optimization of different parameters for FC-AgNPs synthesis

Several factors influence the reduction of silver ions to form FC-AgNPs, in addition to the type of plant extract used. The morphology and size of biosynthesized FC-AgNPs primarily depend on reaction parameters including concentration of reactants. It has been observed that smaller spherical AgNPs with minimal aggregation are more effective for most applications30. In this study, we investigated the effects of plant extract concentration, incubation temperature, and reaction time on the synthesis of AgNPs.

Temperature effect

The effect of temperature on nanoparticle synthesis was studied by measuring the reaction mixture of plant extract and 1.0 mM AgNO3 at 90 °C and room temperature.

Reaction time effect

The impact of reaction time on the synthesis of silver nanoparticles was examined at various intervals. Therefore, the reaction mixture was examined at different times (0, 5 min, 10 min, 20 min, 40 min, 60 min, 2 h, and 4 h) at 90 °C, while at RT the time intervals were (1 h, 2 h, 3 h, 4 h, 24 h, 48 h, 72 h, and 84 h).

Plant extract concentration

Various experiments were conducted utilizing different concentrations of plant extract (10, 25, 50, 100, 200, 300, and 400 mg) to investigate the effect of plant extract concentration. In each experiment, different concentrations of plant extract were added drop by drop to 1 mM AgNO3 solution. All experiments were conducted at 90 °C.

Characterization of NPs

The prepared AgNPs sample was first examined by a UV-visible spectrophotometer (Shimadzu model UV 1800) in the range of 200–800 nm by using deionized water as a reference solvent in a quartz cuvette. FTIR analyses were carried out by Thermo Scientific NICOLET iS 10 FTIR spectrometer. The transmittance of IR spectra was measured in the region of 4000–500 cm−1 at room temperature. Plant extract and AgNPs were combined with KBr separately and formed into a pellet to prepare samples for FTIR analysis. The crystalline nature of AgNPs was determined by using XRD (D2-Phaser, Bruker, Germany) in the 2θ range. The scanning was performed in the range between 20 οC and 80 οC of CuKa radiation with λ = 1.54 Ǻ. The shape and size distribution of synthesized silver nanoparticles were characterized by JEM-1011 transmission electron microscopy (JEOL, Tokyo, Japan).

Antimicrobial activity of FC-AgNPs

The antibacterial and antifungal tests of plant extract and synthesized FC-AgNPs were performed against common pathogens, including the gram-positive bacteria S. aureus (ATCC12598), and B. subtilis (ATCC25922), gram-negative bacteria E. coli (ATCC25922), P. aeruginosa (ATCC10145), and K. pneumoniae (ATCC13883), and fungi A. niger (ATCC6275), and C. albicans (ATCC2091), using the agar well diffusion method. Both broth culture of bacterial and fungal pathogens was swabbed into Muller Hinton agar (MHA) and made wells were made with sterile cork poorer. The initial well was loaded with 25 µL of FCW (stock concentration of 10 mg/mL), the second well was loaded with 50 µL of FC-AgNPs (stock concentration of 1 mg/mL) and the center well loaded with standard drug for bacteria Amoxicillin (AMX) (10 µL of 1 mg/mL) and for fungi Amphotericin (Amp B) (10 µL of 1 mg/mL) as a positive control with respective pathogens. All the MHA plates were incubated at 24 h and 48 h for bacteria, C. albicans and A. niger respectively. Later, incubation the mean zone of inhibition (MZI) in millimeters (mm) for each microbial pathogen represents the concentration that exhibits the inhibition zone were calculated31.

GC-MS analysis of aqueous extract of F. communis

To analyze and identify the phytoconstituents of the aqueous extract of F. communis. Gas chromatography-mass spectrometry (GC-MS) analysis was performed on an Agilent single quadrupole mass spectrometer with an inert mass selective detector (MSD-5975 C detector, Agilent Technologies, USA). The gas chromatograph was equipped with a split–split less injector, a quick swap assembly, an Agilent model 7693 autosampler, and a HP-5MS fused silica capillary column (5% phenyl 95% dimethylpolysiloxane, 30 m × 0.25 mm i.d., film thickness 0.25 μm, Agilent Technologies, USA). Separation of phytoconstituents were achieved employing previously described methodology with slight modification32. In short, injector temperature was maintained at 250 °C with following oven temperature profile: an isothermal hold at 50 °C for 4 min, followed by a ramp of 4 °C/min to 220 °C, an isothermal hold for 2 min, a second ramp to 280 °C at 20 °C/min, and ultimately an isothermal hold for 15 min. For each sample, approximately 0.3 µl diluted in methanol was injected in split mode with a split flow ratio of 10:1. The helium carrier gas used at 1 mL/min. TIC profiles and mass spectra were obtained using the ChemStation data analysis software (version E-02.00.493, Agilent). All mass spectra were acquired in the EI mode (scan range of m/z 45–600 and ionization energy of 70 eV). The ion source and MS quadrupole temperatures were sustained at 230 °C and 150 °C, respectively. The MSD transfer line was sustained at 280 °C for the analyses.

Linear retention indices (LRIs)

The linear retention indices (LRIs) of chemical constituents of F. communis extracts were determined using a continuous series of straight-chain hydrocarbons, ranging from C8-C31, was injected using the identical conditions outlined above. LRIs were calculated utilizing the van den Dool and Kratz equation. Calculated LRIs of the phytoconstituents of F. communis extract are listed in Table 2.

Identification of phytochemicals of aqueous extract of F. communis

The identification of various phytocomponents in the F. communis aqueous extracts was achieved by comparing their mass spectra with entries in mass spectral databases (WILEY 9th edition, NIST-14 MS library, and Adams and Flavor libraries). Additionally, the mass spectra and linear retention indices (LRIs) values of compounds were compared to confirm their identification with published data33,34,35,36.

Statistical analysis

Analysis of variance (ANOVA) and Paired t Test was performed for concentration of inhibition zone to compare the microbial pathogens vs. FCW extract and FC-AgNPs. Means were separated using Duncan’s Multiple Range Test (DMRT) (IBM SPSS 20 version).

Results and discussions

UV-Vis analysis

Initially, the formation of NPs from metal ions was visually observed by the change in color of the Ag NP sample’s reaction medium. In this study, the addition of the plant solution to the AgNO3 solution caused the color to gradually change from yellow to reddish-brown, indicating the formation of nanoparticles in the colloidal solution (Fig. 2a). The formation of metallic nanoparticles was further confirmed by the UV-Vis absorption peak observed around 400–450 nm (Fig. 2b). According to previous studies, AgNPs that exhibit a spherical shape typically show an absorbance peak at a maximum between 420 nm and 450 nm, displaying only a single peak. In contrast, anisotropic particles display multiple surface plasmon resonance (SPR) bands37. In this study, the FC-AgNPs showed a single peak at the maximum absorbance of 430 nm, confirming the bioreduction of silver ions to AgNPs.

Fig. 2
figure 2

(a) photograph of the aqueous solutions of AgNO3, pure plant extract, and FC-AgNPs colloidal solution; (b) UV–Vis spectra of F. communis plant extract, AgNO3 and AgNPs.

Typically, the synthesized AgNPs are analyzed using UV-Vis spectroscopy to optimize the reaction conditions for improving both the yield and quality of nanoparticles (FC-AgNPs). The effect of temperature was assessed at 90 °C and room temperature (RT), while keeping other variables constant. Figure 3a illustrates that the biosynthesis of FC-AgNPs occurs more rapidly at the higher temperature (90 °C) compared to RT, as increased temperature accelerates the formation of nanoparticles, as indicated by the surface plasmon resonance (SPR) band38. The greater intensity of the SPR band for AgNPs produced at 90 °C can be attributed to the higher yield of nanoparticles synthesized at this temperature, as opposed to those produced at room temperature. Additionally, a blue shift in the absorption peak was observed with the increase in temperature, suggesting that smaller particle sizes were produced at 90 °C compared to those at room temperature.

Fig. 3
figure 3

(a) UV-Vis spectra of FC-AgNPs prepared at 90 °C and RT, (b) UV-Vis absorption spectra of (FC-AgNPs) prepared at 90° at different interval of time, (c) UV-Vis absorption spectra of FC-AgNPs at RT at different interval of time, and (d) Images of the colloidal solution of FC-AgNPs demonstrating the change in the color of the solution at 90 °C with increasing time.

The incubation time of the reaction mixture is a critical variable for enhancing the synthesis of biosynthesized nanoparticles. The UV spectra of freshly prepared FC-AgNPs colloidal solutions were measured at two temperatures: 90 °C and room temperature (RT), over various time intervals. The reaction mixtures were analyzed using UV-Vis spectroscopy at different time points, ranging from 0 min to 4 h at 90 °C and from 0 min to 84 h at RT. At the higher temperature of 90 °C, the intensity of the SPR peak increased with time, indicating the increasing formation of FC-AgNPs (Fig. 3b). As shown in Fig. 3b, a hyperchromic effect was observed at 90 °C, demonstrating a rise in the quantity of silver nanoparticles over time. After 4 h, there was no noticeable change in color, which was reflected in the SPR band. The intensity of the bands gradually increased until around 4 h. The similarity in the bands observed at 2 h and 4 h suggested that the reaction had reached completion. Conversely, the nucleation process at room temperature was significantly slower and required up to 72 h (Fig. 3c). Therefore, the optimal time for the reaction mixture to form silver nanoparticles was determined to be 4 h at 90 °C. Figure 3d demonstrate the visible change in the color of the colloidal solution of AgNPs over time at 90 °C.

The concentration of plant extract is a crucial parameter for optimizing the preparation of AgNPs. To evaluate its effect, various concentrations of plant extract (10 mg, 25 mg, 50 mg, 100 mg, 200 mg, 300 mg, and 400 mg) were tested while keeping all other variables constant (1 mM AgNO3 for 4 h at 90 °C). The results indicated that as the concentration of plant extract increased from 10 mg to 200 mg, the absorbance peak gradually increased, with a blue shift observed from 426 nm to 420 nm. However, when the concentration exceeded 200 mg, a decrease in the absorbance peak was noted, suggesting a reduction in the production of AgNPs. The increase in plant extract concentration significantly affected the formation of NPs, as illustrated in Fig. 4. Higher concentrations (i.e., > 200 mg) of plant extract made the nanoparticles more susceptible to agglomeration and clustering, which in turn decreased the absorption peak due to the formation of larger aggregates39. Additionally, the concentration of plant extract plays a pivotal role in determining the size of the nanoparticles. Previous reports have indicated that a broad absorption peak at higher wavelengths typically corresponds to larger particle sizes, while a sharp peak at shorter wavelengths indicates smaller particle sizes. The absorption spectra of FC-AgNPs as shown in Fig. 4 revealed that the maximum absorbance, characterized by a sharp peak at a shorter wavelength (cf. Figure 4, purple line), occurred at a concentration of 200 mg of plant extract, indicating the formation of smaller particles and a higher yield of AgNPs. In contrast, increasing the concentration of plant extract to 300 mg and 400 mg resulted in a decrease in the absorption peak.

Fig. 4
figure 4

UV-Vis absorption spectra of FC-AgNPs prepared at various concentrations of plant extract at 90 °C.

XRD analysis

The XRD pattern presented in the Fig. 5 provides valuable crystallographic information about the composition and structure of the FC-AgNPs. The XRD pattern reveals a mixed-phase material containing metallic AgNPs and other additional phase, with distinctive diffraction peaks of Ag corresponding to its respective crystallographic planes. The diffractogram displays several well-defined diffraction peaks with varying intensities, the most prominent peak appears at approximately 38° which can be indexed to silver (111), exhibiting the highest intensity. The diffraction pattern reveals a face-centered cubic (fcc) crystal structure typical of AgNPs, with characteristic peaks corresponding to the ~ 37.6 (111), ~ 44.2° (200), ~ 63.9° (220), and ~ 76.8° (311) planes of metallic silver. This crystal phase matches well with the standard JCPDS card (04–0783) for metallic silver40. Concurrently, in addition to the prominent peaks of Ag, several other peaks also appear in the diffractogram, which closely resembles to the characteristic peaks of silver oxide phase (Ag2O)41. The peaks at 2θ values of approximately 32.9° (111), 38.2° (200), 55.1° (220), 66.0° (311), and 69.2° (222), which align well with the standard JCPDS file No. 41–1104 for cubic Ag₂O42. The presence of multiple Ag2O peaks indicates partial oxidation of the AgNPs, which is a common phenomenon when AgNPs are exposed to air or during certain synthesis processes. The relative intensities of the peaks suggest that both phases are present in significant amounts, with the metallic silver potentially being the dominant phase based on the high intensity of the Ag (111) peak. The distinct diffraction peaks indicate high crystallinity, suggesting well-formed crystalline nanoparticles instead of amorphous structures.

Fig. 5
figure 5

XRD pattern of the silver nanoparticles (FC-AgNPs).

TEM analysis

The image displayed in Fig. 6 presents a detailed transmission electron microscopy (TEM) characterization of FC-AgNPs alongside their size distribution analysis. The NPs exhibit a mean diameter of 26.64 ± 1.02 nm with a relatively narrow size distribution, indicating a well-controlled synthesis process. The TEM image reveals predominantly spherical particles with some degree of aggregation, which is characteristic of AgNPs due to their surface properties and high surface energy. The nanoparticles demonstrate varying degrees of aggregation throughout the sample. Some regions show densely packed clusters while others display more dispersed individual particles. This heterogeneous distribution suggests potential challenges in achieving complete colloidal stability, which is a common issue with AgNPs suspensions43. The contrast differences between particles may indicate variations in thickness, crystallinity, or orientation relative to the electron beam. The boundaries between individual particles within aggregates remain distinguishable, suggesting limited fusion or sintering between particles. The histogram on the right-hand side of TEM image in Fig. 6 provides quantitative size analysis of the AgNPs. The distribution data reveals that the NPs have a mean length (diameter) of 26.64 ± 1.02 nm, where 1.02 nm represents the standard deviation. This relatively small standard deviation (approximately 3.8% of the mean) indicates a narrow size distribution and suggests good control over the particle synthesis process. The observed size distribution of AgNPs has important implications for their potential applications. With a mean diameter of 26.64 nm, these particles fall within the optimal size range for several biomedical and catalytic applications. At this size range, AgNPs typically exhibit strong surface plasmon resonance effects, which enhance their antimicrobial properties and optical sensing capabilities.

Fig. 6
figure 6

TEM images at different scales and particle size distribution of (FC-AgNPs).

FTIR analysis

The dual role of the F. communis extract as a reducing and stabilizing agent was confirmed through FT-IR analysis of the prepared FC-AgNPs. Figure 7 displays FT-IR spectra comparing a F. communis plant extract (black line) with FC-AgNPs (red line). This spectroscopic comparison reveals important information about the functional groups present in the plant extract and how they interact with Ag during NPs formation. F. communis, commonly known as giant fennel, contains various bioactive compounds including phenolic acids and flavonoids that likely contribute to its medicinal properties. The high wavenumber region reveals several significant peaks related to hydroxyl and hydrocarbon functional groups in the plant extract. The peak at 3633 cm⁻¹ in the plant extract (3638 cm⁻¹ in AgNPs) corresponds to the stretching vibrations of free hydroxyl groups (-OH) from alcohols and phenols, indicating the presence of polyphenolic compounds44. The strong absorption at 3398 cm⁻¹, which is identical in both spectra, can be attributed to the hydrogen-bonded OH stretching vibrations that are characteristic of polyphenolic compounds and other molecules containing hydroxyl groups. The peaks at 3174 cm⁻¹ (from plant extract) and 3176 cm⁻¹ (from AgNPs) likely correspond to N-H stretching vibrations of primary or secondary amines and amides, suggesting the presence of nitrogen-containing compounds in F. communis.

The peak at 3045 cm⁻¹ in the plant extract spectrum indicates aromatic C-H stretching, suggesting the presence of aromatic compounds such as phenolics. This is consistent with the expected phytochemical profile of F. communis plants, which are known to contain various aromatic compounds45. The peak observed at 1622 cm⁻¹ in the plant extract (and at 1626 cm⁻¹ in the AgNPs) indicates the presence of C = C double bonds from aromatic rings or possibly C = O stretching vibrations. This further suggests the existence of aromatic compounds and potentially carbonyl-containing structures, such as flavonoids or phenolic acids. Additionally, the absorption detected at 1436 cm⁻¹ in the plant extract and at 1440 cm⁻¹ in the AgNPs can be attributed to C-H bending vibrations in methyl or methylene groups that are attached to aromatic rings. This implies the presence of methylated aromatic compounds in the F. communis extract. The peak at 1255 cm⁻¹ (1262 cm⁻¹ in AgNPs) likely corresponds to C-O stretching vibrations in phenols, ethers, or esters. This aligns with the presence of phenolic compounds that contain C-O bonds. The absorption at 1112 cm⁻¹ (1117 cm⁻¹ in AgNPs) can be assigned to C-O-C stretching vibrations in ethers or C-OH stretching in alcoholic groups.

The peak at 995 cm⁻¹ in the plant extract may represent = C-H out-of-plane bending vibrations in alkenes or C-O stretching in polysaccharides. This suggests the presence of unsaturated compounds or carbohydrate structures in the extract. The absorption at 726 cm⁻¹ (721 cm⁻¹ in AgNPs) falls within the range for C-H out-of-plane bending vibrations in aromatic compounds (850–670 cm⁻¹), further confirming the presence of aromatic structures in the F. communis extract. The FT-IR spectra of the plant extract and the FC-AgNPs show notable similarities in peak positions, albeit with some subtle shifts and variations in intensity. These similarities suggest that the biomolecules from the F. communis extract play a role in the reduction and stabilization of AgNPs. The minor shifts in peak positions between the plant extract and the AgNPs (for example, from 1622 to 1626 cm⁻¹ and from 1255 to 1262 cm⁻¹) likely indicate interactions between the functional groups in the plant extract and silver ions during the formation of the NPs. These interactions typically involve oxygen-containing functional groups, such as hydroxyl and carboxyl groups, which can reduce silver ions and subsequently stabilize the generated NPs.

Fig. 7
figure 7

FTIR spectra of synthesized (FC-AgNPs), and F. communis plant extract.

Table 1 FT-IR peak values, their corresponding functional groups and attributions.

Notably, the subtle peak shifts observed between plant extract and nanoparticle spectra (e.g., 1622→1626 cm⁻¹ and 726→721 cm⁻¹) demonstrate clear evidence of molecular interactions between functional groups and silver ions during reduction and stabilization (Table 1). This phenomenon is consistent with findings from other plant-mediated silver nanoparticle studies, where FTIR analysis confirms that polyphenolic compounds, flavonoids, and terpenoids serve dual roles as both reducing and capping agents46. For instance, the hydroxyl group stretching vibrations appear in comparable regions in both studies which reports peaks at 3633 cm⁻¹ and 3398 cm⁻¹, while P. dulce extracts show O-H stretching around 3770 cm⁻¹. The presence of aromatic C-H stretching (3045 cm⁻¹ in FC-AgNPs vs. 2920 cm⁻¹ in P. dulce) and carbonyl groups (1622–1626 cm⁻¹ for FC-AgNPs vs. 1736 cm⁻¹ for P. dulce) confirm the involvement of phenolic compounds and organic acids in both biosynthesis processes. The comparative analysis underscores how different plant extracts contribute unique phytochemical signatures that influence nanoparticle characteristics, stability, and ultimately their biological activities.

Chemical constituents identification from the aqueous extract of F. communis

To identify the chemical constituents of the water extract from F. communis, a GC-MS analysis was conducted. This analysis revealed a total of 67 compounds, which accounted for 88.4% of the overall composition (see Table 2).

Table 2 Chemical constituents and their contents detected in the aqueous extract of F. communis aerial parts.

The extract was primarily composed of oxygenated aliphatic hydrocarbons (30.9%), sterols (18.2%), oxygenated sesquiterpenes (9.7%), and diterpenoids (7.7%). Notably, the most dominant compounds identified were stigmasterol, pentadecanoic acid, (5E, 9Z)-farnesyl acetone, and pentyl docosanoate (Fig. 8), which highlight the extract’s potential as a reducing and stabilizing agent for nanoparticle synthesis, due to their functional groups and redox properties. Chemical structural representations of the dominating identified compounds appear in Fig. 8, with their chromatographic elution pattern demonstrated in Fig. 9.

Fig. 8
figure 8

Chemical structures of the dominating compounds from the aqueous extracts of F. communis aerial parts.

Fig. 9
figure 9

Total ion chromatogram of water extract of F. communis aerial parts.

Some of the major compound classes identified in aqueous extract of F. communis and their possible roles are as follows: phenolic derivatives like 2-Methoxy-4-vinylphenol (1.2%), methyl salicylate (0.2%) and 4-methoxybenzoic acid (0.3%) are phenolic esters/acids with hydroxyl and carbonyl groups. These act as reducing agents for metal ions (e.g., Ag⁺, Au³⁺) by donating electrons, facilitating nucleation of nanoparticles47. While, 2-methoxy-4-vinylphenol and vanillic acid derivatives provide stabilization via aromatic rings and hydroxyl groups, preventing nanoparticle aggregation48. Terpenoids, such as β-Eudesmol (0.1%), nerolidol (0.2%), and trans-farnesol (0.2%) are sesquiterpenes with hydroxyl groups that stabilize nanoparticles through steric hindrance and hydrogen bonding. Hydrocarbon sesquiterpenes, including daucene (1.5%) and β-elemene (0.9%), may play a crucial role in controlling nanoparticle morphology49. Meanwhile, the aliphatic compounds including n-decanol (0.5%), n-tetradecane (1.9%), hexadecanoic acid (1.1%) and ethyl tetradecanoate (1.7%) due to their long alkyl chains provide hydrophobic environments for controlling nanoparticle size during synthesis and may act as capping agents. The most abundant component in the extract belongs to the class of sterols, such as stigmasterol (18.2%), which is a phytosterol that offers a rigid tetracyclic structure, stabilizing nanoparticles through hydrophobic interactions. The phytosterol is also recognized for its role in the green synthesis of metallic nanoparticles, due to its hydroxyl groups that help in the reduction of Ag⁺ ions to Ag⁰50. Phenolics, such as 2-Methoxy-4-vinylphenol, and alcohols like n-decanol (0.5%), may facilitate the reduction of metal ions by donating electrons, which initiates the process of nucleation. In terms of stabilization, terpenoids and sterols possibly adhere to the surfaces of nanoparticles, preventing their aggregation through both steric and electrostatic effects. Moreover, the combination of oxygenated aliphatics (30.9%) and aromatics (4.4%) may improves the solubility and dispersion of nanoparticles in aqueous media (cf. Table 3).

Table 3 Possible comparative relevance of the identified components in the aqueous extract of F. communis to green synthesis of FC-AgNPs.
Fig. 10
figure 10

Schematic representation of the possible reaction pathway for the formation of FC-AgNPs by the contribution of phytoconstituents of F. communis extract51.

Possible Bio-Reduction of Ag ions

The water extract from F. communis contains various phytochemicals, including polyphenols, flavonoids, sterols, alkaloids, and terpenoids. Gas chromatography-mass spectrometry (GC-MS) analysis has confirmed the presence of phenolic acids, terpenoids, sterols, and aliphatic alcohols. However, some other phytoconstituents, such as flavonoids and additional polyphenols, could not be identified due to the technical limitations of GC-MS analysis. These phytochemicals play a crucial role in reducing and stabilizing silver ions into AgNPs. Several studies have shown that different types of polyphenolic compounds and other hydroxyl (OH)-bearing constituents are primarily responsible for the reduction and stabilization of AgNPs51,52. The reaction scheme illustrated in Fig. 10 depicts a multi-step process that begins with silver nitrate (AgNO₃) interacting with hydroxyl-bearing compounds in their enol form. These reducing constituents possess multiple hydroxyl groups that act as electron donors during the reduction process. In the initial reduction step, hydroxyl-bearing compounds, including polyphenols, transfer electrons to silver ions (Ag⁺). This transfer results in the reduction of the silver ions while the phenolic compounds are oxidized, leading to the formation of an unstable intermediate state. The unstable intermediate quickly transforms into a quinone form (keto), which represents the oxidized state of the reducing agent. At the same time, the reduced silver atoms start to aggregate, forming AgNPs nuclei. This process continues as these nuclei grow through cluster formation, eventually developing into larger nanoparticle structures. In the final stage, an organic layer of residual phytoconstituents forms around the AgNPs, providing stabilization and preventing unwanted aggregation.

Biological activity

Antimicrobial resistance has been a major issue globally in recent years, with microorganisms increasingly demonstrating resistance to basic medications used to treat severe illnesses. Nonetheless, a wide range of chemical and green-produced nanoparticles are investigated worldwide. Currently, scientists are interested in using nanoparticles for biological activity. Previous studies have shown nanoparticle formation, either chemically or eco-friendly, prevents the growth of microorganisms like bacteria by influencing bacterial membranes53,54. In the current study, the antimicrobial activity of FC-AgNPs and the plant extract was examined against gram-positive (S. aureus, and B. subtilis), gram-negative bacteria (E. coli, P. aeruginosa, and K. pneumoniae), and fungi (C. albicans, and A. niger). The results showed the antimicrobial activity of FC-AgNPs against microbial pathogens as shown in Table 4; Fig. 11. FC-AgNPs revealed moderate inhibitory activity compared to standard drugs against bacterial and fungal pathogens (Fig. 12). The maximum inhibition zone was observed against S. aureus (10.05 ± 0.05 mm) followed by E. coli (9.25 ± 0.05), C. albicans (8.70 ± 0.05), P. aeruginosa (8.50 ± 0.20), (A) niger (8.45 ± 0.00), K. pneumoniae (8.15 ± 0.50), and (B) subtilis (7.55 ± 0.20). Meanwhile, plant extract was tested against the same microbial pathogen, and no inhibitory effect was observed at this concentration except against E. coli with an inhibition zone (6.50 ± 0.10 mm). The reason for that is the cell walls of gram-positive bacteria are composed of a negatively charged peptidoglycan that is substantially thicker than those of gram-negative bacteria, which makes gram-positive bacteria more resistant to the antibacterial therapy of plant extract. On the other hand, according to several studies, gram-negative bacteria have more susceptibility to antibacterial effect due to lipopolysaccharides (LPS) in their cell membranes that generate strong adhesion of plant extract onto their cell surface and exhibit antibacterial activity55. In conclusion, FC-Ag nanoparticles (NPs) that are stabilized by residual phytomolecules from F. communis exhibit enhanced antimicrobial activity against microbial pathogens. This improved effectiveness can be attributed to the small particle size, high surface area, and favorable surface-to-volume ratio of the NPs, which increase the interaction area with microorganisms and thereby enhance their antibacterial properties.

Fig. 11
figure 11

Antibacterial activity of FCW and FC-AgNPs against microbial pathogens; (i) S. aureus ATCC12598, (ii) B. subtilis ATCC6051, (iii) E. coli ATCC25922, (iv) P. aeruginosa ATCC101450, (v) C. albicans ATCC2091, (vi) A. niger ATCC6275. (Note: Zones; a (FCW), b (FC-AgNPs) and c (std drugs; bacteria–Amoxicillin and fungi-Amphotericin B)).

Table 4 Antimicrobial activity of FCW extract and FC-AgNPs against microbial pathogens.
Fig. 12
figure 12

Antimicrobial activity of water plant extract (FCW) and FC-AgNPs against microbial pathogens.

Additionally, the minimal inhibitory concentration of FC-AgNPs was evaluated as shown in Table 5. The results showed that FC-AgNPs have a significant antimicrobial activity with minimum (64.00 µg/mL) and maximum (˃512.00 µg/mL) MIC value (Fig. 13). The results reveal that the MIC of FC-AgNPs against S. aureus (64.00 µg/mL) followed by both E. coli and C. albicans (128.00 µg/mL), then B. subtilis and K. pneumoniae (256.00 µg/mL) and finally P. aeruginosa and A. niger with MIC (512.00 µg/mL). The exact mechanism behind the antimicrobial effects of AgNPs is still not fully understood. However, some studies suggest that AgNPs inhibit and kill bacteria primarily by releasing silver ions, which may contribute to the inactivation of nucleic acids within the cells. Additionally, the biological activity of AgNPs might be linked to the production of free radicals that easily attach to bacterial cell membranes, leading to accelerated cell death in pathogens. Furthermore, factors such as the concentration of AgNPs, as well as the type, size, and shape of the bacteria, play a significant role in determining the bactericidal mechanisms of AgNPs56.

Table 5 Determination of MIC of FC-AgNPs and standard drugs against microbial pathogens.
Fig. 13
figure 13

MIC value of FC-AgNPs and standard drugs against microbial pathogens.

The therapeutic potential of biosynthesized nanoparticles extends beyond conventional antimicrobial applications into the realm of advanced cancer therapy and drug delivery systems57. Recent advances in nanotechnology have revolutionized cancer treatment by addressing critical challenges such as drug resistance, tumor heterogeneity, and systemic toxicity58. Smart nanoparticles, capable of responding to biological cues or environmental triggers, are emerging as transformative platforms for precise cancer treatment, offering enhanced permeability, retention characteristics, and targeted delivery to diseased tissues while minimizing damage to healthy cells59. The unique physicochemical properties of metallic nanoparticles, particularly silver nanoparticles, including their high surface-area-to-volume ratio, biocompatibility, and stability, position them as promising candidates for biomedical applications beyond their well-established antimicrobial efficacy.

In the context of cancer therapeutics, nanoparticle-based drug delivery systems have demonstrated remarkable effectiveness in overcoming multidrug resistance through mechanisms such as efflux pump inhibition, targeted delivery to the tumor microenvironment, and enhanced cellular uptake. Notably, chloroquine, traditionally recognized as an antimalarial agent, has recently emerged as a potential anticancer agent for triple-negative breast cancer (TNBC) through autophagy inhibition, mitochondrial damage induction, and impairment of DNA repair mechanisms60. Studies on MDA-MB-231 cells have revealed that chloroquine significantly reduces cell viability, inhibits proliferation and migration, and demonstrates synergistic effects when combined with conventional chemotherapy, highlighting the importance of drug repurposing strategies in cancer treatment. The outstanding antimicrobial efficacy demonstrated by FC-AgNPs in this study—with minimum inhibitory concentrations (MICs) as low as 64.00 µg/mL against Staphylococcus aureus and 128.00 µg/mL against Escherichia coli and Candida albicans—strongly suggests their potential application as anticancer agents. The synergistic interaction between silver ions released from the nanoparticle surface and the phytoconstituents (particularly stigmasterol, pentadecanoic acid, and ferutinin derivatives) embedded within the nanoparticles creates a multifaceted therapeutic platform. These compounds possess documented anticancer and antiproliferative properties that, when combined with the silver nanoparticles inherent capacity to generate reactive oxygen species (ROS) and cause cellular membrane disruption, present substantial promise for inhibiting cancer cell proliferation and inducing apoptosis through mechanisms similar to those observed with chloroquine.

The antibacterial efficacy of biosynthesized silver nanoparticles observed in this study aligns with recent findings demonstrating the potent antimicrobial properties of AgNPs against diverse bacterial pathogens46. Riazunnisa (2023) reported that silver nanoparticles synthesized using Bauhinia racemosa leaf extracts exhibited significant antibacterial activity against both Gram-positive (S. aureus) and Gram-negative bacteria (E. coli, K. pneumoniae, P. aeruginosa), with characteristic surface plasmon resonance bands at 430 nm for aqueous extracts and 360 nm for methanolic extracts, confirming successful nanoparticle formation61. The antibacterial mechanism involves multiple synergistic pathways, including bacterial membrane disruption, generation of reactive oxygen species (ROS), and interference with DNA replication processes. The size-dependent antibacterial activity is particularly noteworthy, as smaller nanoparticles exhibit enhanced membrane penetration capabilities and greater bactericidal effects. Studies have demonstrated that AgNPs function through direct interaction with bacterial cell walls, altering membrane permeability and ultimately causing cellular disruption62. The electrostatic interaction between positively charged silver ions released from AgNPs and negatively charged bacterial cell walls facilitates enhanced antimicrobial activity. Furthermore, the concentration-dependent antibacterial behavior observed in various studies indicates that AgNPs exhibit bacteriostatic properties at lower concentrations and bactericidal effects at higher concentrations, with minimum inhibitory concentrations (MICs) typically ranging from 3.9 to 100 µg/mL depending on bacterial species and nanoparticle characteristics63. These mechanisms collectively explain the superior antimicrobial performance of plant-mediated silver nanoparticles against multidrug-resistant bacterial strains.

The antimicrobial performance of FC-AgNPs synthesized in this study demonstrates competitive to moderately enhanced activity when compared with similar plant-mediated silver nanoparticle systems reported in recent literatures. The FC-AgNPs exhibited inhibition zones ranging from 7.55 mm (B. subtilis) to 10.05 mm (S. aureus) with MIC values between 64 µg/mL (S. aureus) and 512 µg/mL (P. aeruginosa and A. niger). This antimicrobial efficacy positions FC-AgNPs within the moderate-to-strong activity range when benchmarked against comparable biosynthesized systems64,65,66. Silver nanoparticles synthesized using Bauhinia racemosa exhibited similar inhibition zones against S. aureus and E. coli, while AgNPs from Carduus crispus showed inhibition zones of 6.5–7.7 mm—comparable to the lower range of FC-AgNPs activity61,67. AgNPs synthesized from Gnidia lanceolarium reported MIC values of 43.94 µg/mL against S. aureus, which is slightly better than FC-AgNPs (64 µg/mL). Plant-based AgNPs from Eucalyptus camaldulensis and Terminalia arjuna showed inhibition zones of 16–17 mm—higher than FC-AgNPs, suggesting that specific phytochemical compositions and synthesis optimization significantly influence antimicrobial efficacy68. Notably, FC-AgNPs do not achieve the exceptionally low MIC values observed in optimized bacterial or chemically-enhanced systems, they demonstrate solid moderate-level antimicrobial activity comparable to many plant-mediated systems and offer the distinct advantage of being derived from a medicinally valuable plant with a rich phytochemical profile that potentially extends their applications beyond simple antimicrobial use.

The identification of 67 distinct bioactive compounds through GC-MS provides strong mechanistic insight into the reducing and stabilizing roles of specific phytochemicals, particularly stigmasterol (18.2%), pentadecanoic acid (7.6%), and ferutinin derivatives. The study demonstrates superior antimicrobial efficacy compared to the crude plant extract alone, confirming genuine nanoparticle contribution to biological activity. Additionally, the use of an eco-friendly, cost-effective green synthesis methodology represents a sustainable alternative to conventional chemical synthesis, with clear optimization of reaction parameters (temperature, time, extract concentration) enhancing reproducibility and yield. The antimicrobial activity, while significant, falls within the moderate range when compared to highly optimized nanoparticle systems, with MIC values (64–512 µg/mL) higher than some chemically-synthesized alternatives. However, additional microbial strains still need to be evaluated to establish broader generalizability for the claimed broad-spectrum activity. Moreover, further mechanistic studies—such as molecular docking, genomic profiling, or advanced imaging—are required to elucidate the precise antimicrobial mechanisms, beyond the currently understood general pathways reported for AgNPs. Nevertheless, the integration of green synthesis methodologies with advanced functionalization strategies could potentially expand the biomedical applications of plant-mediated nanoparticles from antimicrobial agents to multifunctional therapeutic platforms for targeted cancer therapy and personalized medicine.

Conclusions

This study successfully demonstrated the green synthesis of FC-AgNPs using an aqueous extract of F. communis. The method presented is sustainable, cost-effective, and environmentally friendly. The biosynthesis process was optimized by adjusting the concentration of the plant extract, reaction time, and temperature. Characterization techniques confirmed the formation of predominantly spherical, crystalline AgNPs with an average diameter of ~ 26.6 nm. FTIR analysis indicated that phenolics, terpenoids, and sterols played a role in both the reduction and stabilization of AgNPs. Additionally, GC-MS analysis identified 67 phytochemicals in the extract, with stigmasterol, pentadecanoic acid, (5E, 9Z)-farnesyl acetone, and pentyl docosanoate being among the most significant contributors to the synthesis process. The biosynthesized FC-AgNPs demonstrated significant antimicrobial activity against a wide range of microbial strains, surpassing the effectiveness of the crude plant extract. This enhanced activity is likely due to the combined effects of silver ions and the phytoconstituents that cap the surface of the NPs, which together contribute to disrupting microbial membranes and causing cell death. Notably, S. aureus and E. coli showed the highest susceptibility to the NPs, exhibiting inhibition zones of 10.05 ± 0.05 mm and 9.25 ± 0.05 mm, respectively. The study also identified minimum inhibitory concentrations (MICs) as low as 64 µg/mL for certain pathogens, highlighting the therapeutic potential of FC-AgNPs. Thus, the green synthesis of AgNPs using F. communis extract presents a promising alternative to traditional methods, with important implications for biomedical and pharmaceutical applications, particularly in antimicrobial therapies.