Introduction

Nanoparticles exhibit unique physicochemical properties due to their high surface area-to-volume ratio and quantum confinement effects, resulting in exceptional catalytic, magnetic, electronic, and optical properties1,2. These distinctive features have enabled nanomaterials to significantly improve the performance of various energy generation systems, including photovoltaics, lithium-ion batteries, and fuel cells3,4,5. Beyond energy applications, nanoparticles have shown immense promise in biomedical fields6 and environmental remediation technologies7.

Among various metal and metal oxide nanoparticles, iron oxide nanoparticles (IONPs) stand out due to their multifunctionality and broad range of applications8,9. They possess excellent magnetic properties, chemical stability, and biocompatibility10,11. These nanoparticles play important roles in fields such as catalysis12, data storage13, electronics14,15, imaging16, biosensing17, and water treatment18. Their biomedical applications are particularly diverse, including cancer therapy19, drug delivery20, hyperthermia treatment21, and antimicrobial applications22. Additionally, magnetite and hematite nanoparticles are highly efficient magnetic nano adsorbents for removing toxic heavy metals such as arsenic, chromium, cadmium, and lead from contaminated water23. Their photocatalytic and antibacterial properties further highlight their potential in energy generation and their use as alternatives to conventional antibiotics24,25.

Various methods are available for the synthesis of iron oxide nanoparticles26,27; however, many of the common approaches have notable limitations. Physical methods such as chemical vapor deposition and laser pyrolysis are often expensive and complex27,28, whereas chemical reduction approaches usually involve toxic reagents, raising environmental and safety concerns29,30. These limitations have spurred growing interest in green synthesis routes that are sustainable and cost-effective31,32,33. Among green synthesis techniques, plant-mediated approaches offer advantages over microbial methods, including simpler protocols and greater scalability34,35,36,37,38,39,40,41,42. Various plant parts from species such as Lagenaria siceraria, Hibiscus rosa-sinensis, and Avicennia marina have been used in synthesizing iron oxide nanoparticles36,37,38,39,40,41,42. The phytochemicals present in plant extracts, including polysaccharides, vitamins, amino acids, proteins, saponins, alkaloids, terpenes, phenolics, flavonoids, and enzymes, serve as both reducing and stabilizing agents43,44,45,46,47,48,49,50,51,52. These biomolecules facilitate the reduction of metal ions to nanoparticles and simultaneously cap the particles, controlling their size at the nanometer scale43,44,47,53,54. Previous studies have also revealed that the nature of the plant extract strongly influences the size and morphology of the produced nanoparticles43,46,47,53,54.

Despite promising progress, several challenges remain in the green synthesis of iron oxide nanoparticles. These include: (1) insufficient characterization to confirm the formation of targeted nanoparticles with sizes below 100 nm51,55,56; (2) dependence on pH-adjusting chemicals which compromise the “green” aspect of the process52,57,58,59; (3) reliance on rare or expensive plant sources52,55,57,58,59,60,61; and (4) use of hazardous iron precursors such as FeCl₃ or Fe(NO₃)₃, which pose environmental risks52,57,58,59,60,61,62.

Considering the limitations of existing synthesis methods, we propose an optimized green protocol to synthesize well-defined magnetite and hematite nanoparticles under 50 nm in size, using widely available Moringa oleifera (Moringa) and Psidium guajava (Guava) leaf extracts, as eco-friendly reducing and capping agents, combined with a safe and cost-effective iron precursor FeSO₄·7 H₂O. This method eliminates the need for hazardous chemicals for pH adjustment and incorporates a novel calcination step, enabling a scalable and environmentally sustainable route for synthesis of the targeted nanoparticles. The use of two distinct plant extracts under identical synthesis conditions provides insights into how the choice of biological agent can influence nanoparticle morphology and functional properties, with preliminary evaluations, which indicate differences in photocatalytic and antibacterial performance. This study thus lays the foundation for advancing the sustainable production of magnetite and hematite nanomaterials for diverse technological applications.

Materials and methods

Materials

Freshly prepared extracts from Moringa and Guava leaves were used in this study. Commercial iron sulfate heptahydrate (FeSO4·7H2O) with a purity of 98.5%, obtained from Merck, Germany, served as the precursor salt. Instruments used include a digital balance (AND, FR-200, 210 × 0.0001 g, Shimadzu, Japan), a muffle furnace (ISYZU SEISARYSHO CO., LTD), a pH meter (HANNA instruments, pH 210, Microprocessor pH meter), and a magnetic stirrer (Eyela, Japan).

Preparation of plant leaf extracts

Fresh Moringa and Guava leaves were collected from local trees in Chittagong. The leaves were thoroughly washed and dried at room temperature for approximately 24 h. About 200 g of each dried leaf type was chopped into small pieces and boiled separately in 1 L of distilled water. After boiling, the mixtures were strained, cooled, and allowed to settle. The clear top-layer extracts were collected and stored in a refrigerator. The Moringa leaf extract appeared faint yellowish-brown, while the Guava leaf extract was bright reddish-brown. The pH values of the freshly prepared extracts were measured as 5.1 for Moringa and 5.7 for Guava.

Synthesis of iron oxide nanoparticles

Iron oxide nanoparticles (IONPs) were synthesized separately using Moringa and Guava leaf extracts. 500 mL of 0.05 M FeSO4·7H2O solution with a pH of 3.1 was prepared and 250mL of it was placed in a 500 mL beaker on a magnetic stirrer. While stirring, approximately 180 mL of Moringa leaf extract was added dropwise from a burette to control nucleation and growth. After complete addition, the solution turned greenish-brown and the pH increased to 3.5. The reaction mixture was left undisturbed at room temperature for 24 h to allow reduction and particle maturation. The resulting slurry-like precipitate was collected, washed three times with distilled water, dried in a Petri dish at 100 °C for 1 h, ground to a fine powder, and reheated for 2 h. The powder was then calcined in a muffle furnace at 300 °C for 3 h. and subsequently at 600 °C for 3 h. An identical procedure was followed using Guava leaf extract with another 250 mL of the FeSO4·7H2O solution. In this case, the mixture turned deep black after mixing and the pH was recorded as 3.8. The synthesis route has been presented in Fig. 1.

Fig. 1
Fig. 1The alternative text for this image may have been generated using AI.
Full size image

Synthesis route for well-defined iron oxide nanoparticles (magnetite and hematite) using Moringa (Mo) and Guava (Gv) leaf extracts.

Results and discussion

Visual observations and initial color changes

The immediate color changes observed upon adding Moringa or Guava leaf extracts to the ferrous sulfate solution may indicate the reduction of iron ions and the formation of nanoparticles. During the synthesis process, subsequent thermal treatments including drying at 100 °C and calcination at 300 °C and 600 °C induced further distinct color changes as presented in Fig. 1. These color variations suggest modifications in the physicochemical properties of the synthesized nanoparticles, potentially including changes in particle size, morphology, and crystalline structure,

Formation of iron/iron hydroxide nanoparticles

Depending on the diverse bioactive molecules present in the Moringa and Guava leaf extracts43,46,48,63,64 iron or iron-hydroxide nanoparticles are formed in the solution mixture. Moringa leaf extract contains molecules such as epicatechin, ferulic acid, ascorbic acid, kaempferol, quercetin, and chlorogenic acid45,65,66,67, whereas Guava leaf extract is rich in ascorbic acid, kaempferol, quercetin, gallic acid, apigenin, luteolin, and myricetin68,69,70. The chemical structures of these key compounds are illustrated in Fig. 2a. These biomolecules reduce Fe²⁺ ions from ferrous sulphate solution by electron transfer from their hydroxyl (-OH) groups, converting iron ions into elemental iron species64. Simultaneously, they adsorb onto the nanoparticle surfaces, effectively capping them to prevent aggregation and maintain nanoscale size. However, the acidic environment of the plant extracts and their mixtures with iron precursor solutions (pH < 7) promotes in situ oxidation of the freshly formed iron nanoparticles, converting them into iron hydroxides. This proposed mechanism aligns with experimental evidence reported by Abdullah et al.52, linking acidic conditions to iron hydroxide formation. Here, variations in the phytochemical composition of the plant leaf extracts might affect the characteristics of the synthesized nanoparticles44,47,53,64.

Formation of magnetite and hematite nanoparticles

Upon calcination at 300 °C and subsequently at 600 °C, FeO is likely formed initially through dehydration reactions. Due to the thermodynamic instability of FeO, higher temperatures induce its transformation into both amorphous and crystalline iron oxide phases, such as magnetite (Fe₃O₄) and hematite (Fe₂O₃), consistent with previous reports on the thermal behavior and phase transformations of iron oxides71. For convenience, iron oxide nanoparticles synthesized using Moringa leaf extract are labeled as Mo3 when calcined at 300 °C and Mo6 when calcined at 600 °C. Similarly, nanoparticles synthesized using Guava leaf extract are designated as Gv3 and Gv6 when calcined at 300 °C and 600 °C, respectively. A detailed schematic of the proposed mechanism is shown in Fig. 2b.

Fig. 2
Fig. 2The alternative text for this image may have been generated using AI.
Full size image

a) Different phenolic components present in Guava (Gv) and Moringa (Mo) leaf extracts and b) mechanism of formation of iron oxide nanoparticles (magnetite and hematite) by the extract components from ferrous sulphate solution.

Analysis of the synthesized nanoparticles

To verify the successful synthesis of the targeted iron oxide nanoparticles (IONPs) and thoroughly evaluate their size, morphology, crystalline phase, magnetic properties, presence of metal–oxygen bond, and surface coating, the synthesized products were subjected to a comprehensive set of characterization techniques. These techniques included Field Emission Scanning Electron Microscopy (FESEM), X-ray Diffraction Spectroscopy (XRD), Ultraviolet-Visible Spectroscopy (UV-Vis), Fourier Transform Infrared Spectroscopy (FTIR), and Vibrating Sample Magnetometry (VSM). The results obtained from these analyses are discussed in detail below.

Field emission scanning electron microscopy (FESEM) analysis

The size and morphology of the nanoparticles were characterized by field emission scanning electron microscopy (FESEM) using a Sigma 300 model (Carl Zeiss, Germany). Figure 3a and b show FESEM micrographs of iron oxide nanoparticles synthesized using guava leaf extract and calcined at 300 °C (Gv3) and 600 °C (Gv6), respectively, at a magnification of 150,000×. The corresponding particle size distribution histograms are presented in Fig. 3c and d. The images reveal well-defined nanoparticles with sizes of below 100 nm. Size distribution analysis indicates average particle sizes of approximately 23 nm for Gv3 and 29 nm for Gv6. Similarly, Fig. 4a and b show FESEM images of iron oxide nanoparticles synthesized using moringa leaf extract calcined at 300 °C (Mo3) and 600 °C (Mo6), respectively. Their corresponding particle size distributions are shown in Fig. 4c and d. The Mo3 sample exhibits particle sizes ranging from approximately 15 to 40 nm, with an average size of 22 nm, whereas Mo6 shows a slight increase in average particle size to 30 nm. No significant morphological differences were observed between the samples. Overall, FESEM analysis confirms the successful synthesis of well-defined, nanosized particles by this synthesis approach. The nanoparticles exhibit narrow size distributions, with average diameters of approximately 22–23 nm for samples calcined at 300 °C and 29–30 nm for those calcined at 600 °C, aligning well with the desired size range for potential applications.

Fig. 3
Fig. 3The alternative text for this image may have been generated using AI.
Full size image

FESEM images (a, b) and particle size distribution histograms (c, d) of iron oxide nanoparticles (magnetite and hematite) synthesized using Guava leaf extract and calcined at 300 °C (Gv3) and 600 °C (Gv6).

Fig. 4
Fig. 4The alternative text for this image may have been generated using AI.
Full size image

FESEM images (a, b) and particle size distribution histograms (c, d) of iron oxide nanoparticles (magnetite and hematite) synthesized using Moringa leaf extract and calcined at 300 °C (Mo3) and 600 °C (Mo6).

X-Ray diffraction (XRD) analysis

X-ray diffraction (XRD) analysis was performed to determine the crystallinity and phase composition of the synthesized iron oxide nanoparticles, as well as to gain detailed insights into their molecular and crystal structures. The analysis was conducted using a Rigaku SmartLab II diffractometer, which also enabled particle size estimation. Figure 5 displays the XRD patterns of nanoparticles synthesized via green synthesis using Moringa and Guava leaf extracts, calcined at 300 °C (Mo3, Gv3) and 600 °C (Mo6, Gv6).

Fig. 5
Fig. 5The alternative text for this image may have been generated using AI.
Full size image

XRD patterns of iron oxide nanoparticles (magnetite and hematite) synthesized using Guava (Gv) and Moringa (Mo) leaf extracts, calcined at 300 °C (Gv3, Mo3) and 600 °C (Gv6, Mo6). Reference patterns for magnetite72 and hematite73 are included for comparison.

For samples calcined at 600 °C (Mo6 and Gv6), diffraction peaks characteristic of crystalline magnetite and hematite phases were clearly observed. Specifically, Mo6 exhibited distinct reflections at 2θ values of 30.33°, 35.73°, 43.43°, 53.90°, 57.46°, and 63.11°, corresponding to the (220), (311), (400), (422), (511), and (440) planes, respectively, confirming magnetite formation at this temperature. The Mo3 sample calcined at 300 °C showed no prominent diffraction peaks, indicating an amorphous structure.

Similarly, Gv6 showed peaks at 2θ = 30.36°, 35.76°, 43.47°, 53.94°, 57.51°, and 63.16°, matching the same crystallographic planes as Mo6 and confirming a cubic magnetite structure. These patterns correspond well with the JCPDS standard cards for magnetite (Card No. 01-076-2949)72 and also exhibit two prominent peaks attributable to hematite (Card No. 01-089-8103)73, indicating predominantly magnetite with a minor hematite phase at 600 °C. The Gv3 sample calcined at 300 °C was mostly amorphous, though two weak magnetite peaks suggest the presence of a small crystalline fraction.

Crystallite sizes (D) were calculated using the Scherrer equation, (D = kλ/B cosƟ) implemented in the SmartLab Studio-II software. Here, k is Scherrer’s constant (0.9), λ is the X-ray wavelength (1.54060 Å), B is the full width at half-maximum of the nanoparticle (3 1 1) plane, and Ɵ is the diffraction angle. The average crystallite sizes for Mo6 and Gv6 were found to be 30.4 nm and 28.2 nm, respectively. Interplanar d-spacing values were calculated as 2.51 Å for Mo6 and 2.50 Å for Gv6, indicating excellent lattice periodicity. The lattice parameters for magnetite were found as a = b = c = 8.32687Å for Mo6 and a = b = c = 8.32045 Å for Gv6, both closely matching the standard value of 8.34000 Å73.

Hence, XRD analysis confirms the successful green synthesis of magnetite and hematite nanoparticles with temperature-dependent crystallization behavior: an amorphous structure predominates at 300 °C, whereas a mainly crystalline magnetite phase with minor hematite content forms at 600 °C. This demonstrates the efficacy of this synthesis approach combined with calcination temperature control for tailoring the phase and crystallinity of iron oxide nanoparticle.

UV-Visible absorption spectroscopy (UV-vis) analysis

UV-visible absorption spectroscopy was used to characterize the optical properties and identify photocatalytically active components within the synthesized iron oxide nanoparticles (Gv3, Gv6, Mo3, Mo6). Aqueous dispersions of the nanoparticles, prepared via sonication, were analyzed using a Shimadzu UV-1800 spectrophotometer. Figure 6a displays the spectra, including the UV-Vis spectra of moringa and guava leaf extracts obtained in the present study. The observed absorption spectra provided critical insights into the optical properties and nanoscale characteristics of the synthesized nanoparticles. Notably, the nanoparticles exhibited distinctive absorption peaks around 300 nm, consistent with their nanoscale dimensions as reported in previous studies74,75,76. Specifically, Mo3 (calcined at 300 °C in Moringa-mediated synthesis) demonstrated a broad absorption band spanning 300–400 nm, with a pronounced maximum at 315 nm, accompanied by a distinct high-energy peak at 230 nm. In contrast, the pure Moringa extract displayed a singular phenolic/chromophoric absorption feature at 268 nm, supporting the characteristic signature previously documented by Mohammed et al.77 for this plant extract. Comparative analysis, referencing the data reported by Akbar et al.76., enabled the assignment of the absorption peak at 230 nm to hematite, while the peak at 315 nm was attributed to magnetite. For Mo6 (calcined at 600 °C), the absorption spectrum exhibited two distinct peaks at 272 nm and 333 nm, consistent with XRD evidence indicating phase transformation. In contrast, Guava-derived nanoparticles displayed markedly different optical characteristics. Gv3 (calcined at 300 °C) presented weakly resolved doublet features at approximately 300 nm and 335 nm, reflecting its mixed crystalline-amorphous structure. Furthermore, Gv6 showed a pronounced attenuation in absorption intensity, which contrasts sharply with the strong chromophoric peak at 274 nm observed in the native Guava extract78. The observed absorption peaks result from the characteristic surface plasmon resonance of the nanoparticles79.

The band gaps of iron oxide nanoparticles Mo3 and Mo6, which displayed sharp absorption peaks, were calculated using absorbance data and Tauc plots following Tauc’s equation (αhν)1/n = B(Eg), where α represents the absorption coefficient, h is Planck’s constant, ν denotes the photon frequency, Eg is the band gap energy, and B is a constant. The linear portion of the (αhν)1/2 versus plot was extrapolated to intersect the energy axis, from which the band gap energy values were determined77,80, as presented in Fig. 6b and c.

Fig. 6
Fig. 6The alternative text for this image may have been generated using AI.
Full size image

UV-Vis absorption spectra of (a) Moringa leaf extract (Mo), Guava leaf extract (Gv), and iron oxide nanoparticles (magnetite and hematite) synthesized from these extracts and calcined at 300 °C (Mo3, Gv3) and 600 °C (Mo6, Gv6); (b) Tauc’s plot for the Mo3 nanoparticles; and (c) Tauc’s plot for the Mo6 nanoparticles.

For Mo3, absorption at 315 nm, attributed to magnetite76, corresponds to a band gap Eg1=1.52 eV while absorption at 230 nm, assigned to hematite76, gives Eg2=3.91 eV. In the case of Mo6, absorption at 333 nm results in Eg3=3.73 eV, and at 272 nm, the band gap is Eg4=4.78 eV. The band gap values for the synthesized magnetite nanoparticles are consistent with the previously reported value of 4.5 eV by Hosseini et al.81 although Akbar et al.76. reported lower band gaps of 2.22 eV for magnetite and 2.66 eV for hematite. While the band gap energy values of the synthesized IONPs indicate their photocatalytic activity, the band gap energy of 1.52 eV, observed for the Moringa-mediated nanoparticles calcined at 300 °C, falls within the visible light region. This value suggests highly efficient photon absorption through electron transitions from the valence band to the conduction band, highlighting the strong potential of these nanoparticles for photocatalytic activity which might be an indication of more efficiency of Moringa leaf extracts in getting photocatalytic iron oxide nanoparticles than of Guava leaf extract.

Overall, IONPs synthesized using Moringa and Guava leaf extracts exhibited distinct UV-Vis absorption patterns indicative of their nanoscale size and related to their phase composition. Moringa-derived nanoparticles showed strong absorption peaks and a lower band gap, indicating enhanced visible-light photocatalytic activity, whereas Guava-derived nanoparticles displayed weaker absorption and reduced photocatalytic potential. Both calcination temperature and plant extract type significantly influenced the optical and structural properties of the nanoparticles47,64.

Fourier transform infrared spectroscopy (FTIR) analysis

The synthesized products (Gv3, Gv6, Mo3, and Mo6) were analyzed by Fourier-transform infrared (FTIR) spectroscopy to confirm the presence of Fe–O bonds in the products, identify whether iron oxides or iron hydroxides were formed, and detect the presence of capping agents originating from plant extracts. The recorded FTIR spectra are presented in Fig. 7. Distinct absorption bands observed at approximately 428, 464, 502, 546, and 592 cm⁻¹ clearly indicate the presence of Fe–O bonds82. These spectral features fall within the characteristic region for metal–oxygen stretching vibrations, as extensively documented in the literature. For instance, Srivastava et al.83 and Nag et al.84 reported FTIR peaks at 562 cm⁻¹ and 456 cm⁻¹, which were attributed to metal–oxygen stretching modes corresponding to Fe₃O₄ and α-Fe₂O₃, thereby confirming the formation of Fe₃O₄/α-Fe₂O₃ nanocomposites. The similarity of our observed peaks to these references supports the formation of analogous iron oxide phases in the present study.

Fig. 7
Fig. 7The alternative text for this image may have been generated using AI.
Full size image

FTIR spectra of iron oxide nanoparticles (magnetite and hematite) synthesized using Guava (Gv) and Moringa (Mo) leaf extracts, calcined at 300 °C (Gv3, Mo3) and 600 °C (Gv6, Mo6).

Absorption bands appearing above 1000 cm⁻¹ are typically associated with organic stabilizing or capping agents derived from phytochemicals present in the plant extracts84,85. In the spectra of Gv3 and Mo3, a broad and prominent peak at 3288 cm⁻¹ corresponds to the stretching vibrations of hydroxyl (–OH) groups86, which may originate from phenolic compounds inherent to the extracts or from residual iron hydroxide species. Notably, the intensity of these hydroxyl peaks decreases in the products calcined at 600 °C (Gv6 and Mo6), indicating a conversion of remaining iron hydroxide to iron oxide at the elevated calcination temperature. Additional absorption bands for Gv3 and Mo3 observed at 1016 and 1130 cm⁻¹ can be assigned to C–O stretching86,87, 1390 cm⁻¹ to O–C = O asymmetric stretching88, and 1584 cm⁻¹ to C = C aromatic ring vibrations89. These are consistent with the presence of polyphenolic compounds acting as capping agents, as reported by Kumar et al.85., who identified FTIR peaks around 1100–1150 cm⁻¹ (C–O stretching), 1380–1400 cm⁻¹ (O–C = O asymmetric stretching), and 1580–1600 cm⁻¹ (aromatic C = C stretching) as characteristic signatures of polyphenolic compounds involved in capping or stabilizing nanoparticles during synthesis. Furthermore, a distinct C–O stretching peak at 1016 cm⁻¹ was also detected, likely originating from polyphenols in the plant extracts. Upon calcination at 600 °C, the intensity of most of these organic-related peaks decreases, except for the C–O stretching band, which remarkably intensifies. This phenomenon aligns with previous reports84,85 where thermal treatment led to the enhancement of certain C–O absorption bands, possibly due to structural rearrangements of the organic moieties.

In summary, the FTIR spectra confirm the formation of iron oxide nanoparticles through the presence of characteristic Fe–O vibrational bands while also revealing the transformation of iron hydroxides to oxides upon calcination. Simultaneously, distinct absorption features attributable to biomolecular functional groups validate the effective capping and stabilization of the nanoparticles by phytochemicals from the plant extracts.

Vibrating sample magnetometry (VSM) analysis

The magnetic properties of the synthesized IONPs were studied using a Vibrating sample magnetometer (VSM) at room temperature. The VSM graphs for Mo6 and Gv6 nanoparticles, shown in Fig. 8, exhibit clear superparamagnetic behavior, as evidenced by S-shaped hysteresis loops with negligible coercivity and remanence. Mo6 displays a saturation magnetization (Ms) of approximately 13 emu/g, while Gv6 shows a lower Ms of around 6 emu/g. These values fall below the typical range reported for Fe₃O₄ nanoparticles in the recent studies of Laurent et al.90. and Wu et al.91. However, both values are consistent with reports in the literature for small or coated iron oxide nanoparticles. For instance, Thanh et al.92. and Lee et al.93. observed saturation magnetization values (Ms) ranging from 5 to 25 emu/g for nanoparticles smaller than 8 nm. According to these reports, reduced Ms is common in nanoparticles due to small size, high surface disorder, or organic coatings. Additionally, the presence of hematite nanoparticles alongside magnetite likely contributes to the lower Ms values compared to pure magnetite nanoparticles83. Such superparamagnetic nature and low remanence of both samples are typical of nanoparticles designed for biomedical use, such as in MRI and drug delivery, where minimizing particle aggregation is essential to ensure safety90,94.

Fig. 8
Fig. 8The alternative text for this image may have been generated using AI.
Full size image

VSM hysteresis loops of iron oxide nanoparticles (magnetite and hematite) synthesized using Guava (Gv6) and Moringa (Mo6) leaf extracts, calcined at 600 °C, showing magnetic moment versus applied magnetic field (± 20 kOe) measured at room temperature.

Antibacterial and photocatalytic activities

The antibacterial activity of the synthesized iron oxide nanoparticles against Escherichia coli (E. coli) was tested under both light and dark conditions95,96. Prior to the experiment, all equipment and the nutrient agar medium (prepared by dissolving 1 g of nutrient agar in 100 mL of water) were sterilized by autoclaving at 120 °C and 3 atm pressure for 30 min, followed by UV radiation treatment. After cooling the agar solution to 50 °C, 10 mL aliquots were poured into sterile Petri dishes and allowed to solidify.

For the antibacterial assay, 1.5 mg of the synthesized iron oxide nanoparticles was dispersed in 5 mL of deionized water by sonication for 5 min to ensure a uniform suspension. To this, 250 µL of E. coli bacterial culture with a concentration of 1.5 × 10^8 CFU/mL was added. The resulting mixtures were then divided into two groups: one exposed to tungsten lamp irradiation for 1 h to assess photocatalytic activity, and the other kept in the dark for the same duration as a control.

After treatment, each suspension was diluted to a total volume of 16 mL by adding 10.75 mL of distilled water, followed by a 30-fold serial dilution. From these diluted samples, 10 µL aliquots were spread evenly onto the prepared agar plates, which were incubated at 37 °C for 24 h to allow bacterial colony formation. A control without nanoparticles was also included for comparison. Following incubation, the bacterial colonies were counted using the plate colony counting method. Representative images of the Petri dishes are presented in Fig. 9 to illustrate the antibacterial and photocatalytic effects of the nanoparticles.

Fig. 9
Fig. 9The alternative text for this image may have been generated using AI.
Full size image

Photographs of E. coli colony forming units (CFU) grown on agar plates for the blank solution and solutions containing iron oxide nanoparticles (magnetite and hematite) synthesized using Guava (Gv) and Moringa (Mo) leaf extracts. Panels (a, c, e, g, i) show plates incubated in the dark, and panels (b, d, f, h, j) show plates incubated under light for the blank solution and for solutions with Gv3, Gv6, Mo3, and Mo6 respectively. Here, Gv3 and Mo3 are nanoparticles calcined at 300 °C, while Gv6 and Mo6 are nanoparticles calcined at 600 °C.

When comparing bacterial growth on plates incubated under both dark and light conditions, a noticeable inhibitory effect of the nanoparticles was observed. In all cases, the colony-forming units (CFU) on plates treated with nanoparticles were lower than those with the control solutions. In the dark, CFU counts for the control solutions was 998, whereas for solutions with samples Gv3, Gv6, Mo3, and Mo6, they were found to be 562, 712, 908, and 740, respectively. Upon light exposure, these counts decreased to 729 for the control solution and to 337, 466, 511, and 364, respectively, for the solutions with the same samples. Figure 10 illustrates the comparison of E. coli colonies in the presence of these samples under light versus dark conditions, showing that light exposure enhances bacterial growth inhibition.

Fig. 10
Fig. 10The alternative text for this image may have been generated using AI.
Full size image

Comparison of E. coli colony counts under dark (D) and light (L) exposure in blank solution and solutions containing iron oxide nanoparticles (magnetite and hematite) synthesized using Guava (Gv) and Moringa leaf (Mo) extracts, calcined at 300 °C (Gv3, Mo3) and 600 °C (Gv6, Mo6).

For Gv3 and Gv6, the reduction in CFU under light compared to dark conditions was comparable to that observed in the control solutions, suggesting minimal photocatalytic contribution. Conversely, Mo3 and Mo6 exhibited noticeably lower CFU under light exposure relative to dark conditions, indicating pronounced photocatalytic antibacterial activity. This observation is consistent with the UV-vis spectral analysis (Fig. 6), which showed sharp absorption peaks and favorable band gaps (1.52–4.78 eV) for Mo3 and Mo6, indicating efficient light absorption and photocatalytic reactive oxygen species (ROS) generation.

Detailed studies on antibacterial activity, its underlying mechanisms, and cytotoxicity to human cells can confirm the biocompatibility and safety of such nanoparticles. Several research reports offer valuable insights in this regard97,98,99,100,101,102,103,104,105,106,107. Ezealigo et al.97 emphasized in their report that IONPs are promising antibacterial agents due to their ROS-mediated mechanisms. S.V. Gudkov et al.98. in their comprehensive review, summarized multiple studies demonstrating the antimicrobial effects of IONPs. In these reports, two primary antibacterial mechanisms of IONPs were emphasized: (1) generation of ROS, which induces oxidative damage to bacterial cells, and (2) membrane disruption, whereby IONPs physically damage bacterial membranes. Singh et al.99 noted that the primary antibacterial action of IONPs involves ROS generation, which causes oxidative damage to bacterial cells by disrupting membranes, damaging DNA, and inhibiting key enzymes. IONPs can also directly damage bacterial cell membranes, increasing permeability and causing leakage of cellular contents that leads to bacterial death. While the precise antibacterial mechanisms of iron oxide nanoparticles can be multifaceted, our data primarily support a photocatalytic ROS-mediated mechanism for the synthesized IONPs Mo3 and Mo6 under light exposure. As illustrated in Fig. 11, the antibacterial effect under light is likely mediated by photocatalytically generated ROS, such as hydroxyl radicals (*OH) and superoxide anions (*O2), which induce oxidative damage to bacterial cell membranes, ultimately leading to cell death103,104. For Gv3 and Gv6, the mechanism appears less dependent on light activation and may involve other nanoparticle–bacteria interactions which require further investigation. Although concerns exist regarding the toxicity of iron oxide nanoparticles to human cells, multiple studies98,99,100 demonstrated that their cytotoxic effects depend on several factors, including particle size, concentration, and exposure duration. Additionally, surface coatings often enhance biocompatibility and help reduce toxicity100. Previous reports by Gudkov et al.98. and Kiroriwal et al.100 demonstrated that iron oxide nanoparticles exhibit significant antibacterial activity with relatively low cytotoxicity, suggesting their potential for biomedical applications. In this context, we propose that our synthesized nanoparticles, specifically Mo3 and Mo6 coated with biomolecules from Moringa extract, may serve as effective antibacterial agents.

Fig. 11
Fig. 11The alternative text for this image may have been generated using AI.
Full size image

Antibacterial activity of green synthesized iron oxide nanoparticles (magnetite and hematite) against E. coli, showing growth inhibition and membrane disruption via ROS generated by electron-hole pairs formed upon UV-visible light absorption.

Conclusion

In conclusion, this study demonstrates a simple and sustainable green approach for synthesizing superparamagnetic magnetite and hematite nanoparticles in the size range of 20 to 30 nm. It ensures a fully green protocol and overcomes common challenges in producing the targeted nanoparticles by integrating key factors. These include the use of widely available Moringa oleifera and Psidium guajava leaf extracts with a favorable composition of biomolecules and pH, an environmentally benign precursor salt at an optimal concentration, the elimination of hazardous chemicals for pH adjustment, and a unique calcination strategy. Characterization techniques including UV–vis, XRD, FTIR, FESEM, and VSM confirmed the formation of the targeted amorphous and crystalline nanoparticles, exhibiting superparamagnetic behavior. Moringa-derived particles showed a higher saturation magnetization (~ 13 emu/g) compared to Guava-derived particles (~ 6 emu/g). FTIR analysis confirmed Fe–O bond formation and bio-organic surface capping on the nanoparticle surfaces. Preliminary antibacterial tests showed moderate activity against Escherichia coli, which improved under light irradiation, indicating the nanoparticles’ potential photocatalytic properties. Their superparamagnetic nature and tunable band gap make them promising for biomedical applications, energy harvesting, and catalysis. While further analyses, including TEM, Raman spectroscopy, stability testing, BET surface area measurements, and detailed antibacterial or cytotoxicity studies are necessary to gain deeper insights and validate safety, these are planned for future work due to current facility limitations. Overall, this synthesis approach provides a robust, scalable, and eco-friendly platform for producing low-cost, well-defined, superparamagnetic magnetite and hematite nanoparticles, facilitating their application in environmental remediation, biomedical fields, and energy technologies, advancing sustainable development goals.