Introduction

During recent decades, nanoparticles (NPs) have captured significant interest because of their unique characteristics such as biocompatibility, superior mechanical performance, thermal and chemical stability, high strength, and damping1. Among all, metal and metal oxide NPs have high surface area to volume ratio and smaller crystalline sizes used in a broad range of fields, including optical, magnetic, sensing, and electronics2,3. As a result, several metal oxide NPs are developed, including CoFe2O4, Fe3O4, MgO, TiO2, and, ZnO for a variety of applications4,5,6,7.

Magnesium oxide nanoparticles (MgO NPs) are being widely researched among metal oxide NPs due to their high biocompatibility, excellent surface reactivity, broad band gap, and good stability8,9. They have been used in paints, medicines, electronics, ceramics, additives, catalysis, and photochemical products10,11. Additionally, MgO nanoparticles are capable of absorbing X-rays and visible light, ultraviolet radiation due to their wide band gap energy, which typically ranges from 3.18 to 4.85 eV12,13. Magnesite ore, containing 43.32% MgO, is readily available as a raw material in the Eastern Desert of Egypt and is mined at a low cost. The production cost of MgO nanoparticles is lower compared to many other metal oxide nanoparticles, offering significant economic advantages over other photocatalysts and even modified adsorbents. The structure of MgO nanoparticles demonstrates a high efficiency in removing various pollutants, which can be attributed to their high surface-to-volume ratio that enhances surface reactions14. Moreover, MgO nanoparticles and their composites have shown promise as effective adsorbents and photocatalysts for the removal of pollutants from industrial wastewater15,16,17.

Various methods are developed to synthesize MgO NPs, such as hydrothermal, spray pyrolysis, microwave, sonochemical, co-precipitation, and sol–gel method18,19,20,21. These conventional preparation methods have drawbacks, including the requirement of toxic chemicals, high amounts of external heat, and containing side products that can be biologically and environmentally hazardous. Therefore, there is always a need to develop environmentally friendly, economical, energy-efficient biochemical procedures to evade the toxicity of chemicals in the fabrication of NPs22,23,24,25. To avoid these complications, natural organisms (plants, bacteria, marine algae, and sponges) provide alternative resources to biosynthesize the metal and metal oxide NPs26,27,28. These plants contain different biomolecules, i.e., flavonoids, alkaloids, terpenoids, and carboxylic acids that can serve as a chelating and reducing agent as well as stabilize the formation of metal oxide NPs29. The biosynthesis of MgO NPs with plant extract is also a simple process with safety, less toxicity, and an environment-friendly nature30. Table 1, provides a literature review on various preparation techniques and the surface morphology of MgO NPs31,32,33,34,35,36.

Table 1 Comparison of previously reported studies for MgO NPs.

Hyphaene thebaica, locally known as Doum (Arabic) and gingerbread tree (English), belongs to the family Arecaceae. In history, H. thebaica has been widely used as a medicine for hypertension, bleeding, lowering blood pressure, dyslipidemia, and hematuria, as a diaphoretic and diuretic31. Successful green synthesis of different metal and metal oxide NPs through H.thebaica has been reported in recent years32,33,34,35,36. Mohamed et al. synthesized Ag NPs through an aqueous extract of H. thebaica. The biological and physiochemical properties were studied through SEM, TEM, XRD, UV–Vis, FTIR, and in-vitro biological assays37. The results showed excellent biological activities of AgNPs in the size range of 5–70 nm, and anisotropic behavior was observed with different morphologies.

This study focuses on the biosynthesis of MgO NPs using the extract of Hyphaene thebaica and examines their photocatalytic behavior. The physicochemical properties of the nanoparticles were characterized using a range of techniques, including SEM, TEM, XRD, EDX, FTIR, and Raman spectroscopy. Additionally, the photocatalytic efficiency of the MgO NPs was evaluated by investigating their ability to degrade methylene blue (MB) dye under specific conditions. The significance of this work lies in the synthesis process of MgO NPs, which have several significant advantages. It employs water as the sole universal solvent, eliminating the need for additional base or acid chemicals for pH control. This process does not require any supplementary catalysts, relying solely on the natural extract of H.thebaica as an effective chelating agent facilitated by its phytochemicals and enzymatic compounds. Moreover, the synthesis is conducted at room temperature and under atmospheric pressure, further simplifying the procedure. There is no necessity for extra thermal annealing, and the method consistently produces nano-scaled particles, underscoring the efficiency and practicality of this environmentally friendly approach.

Materials

Mg(NO3)2.6H2O (> 98%) was obtained from Sigma Aldrich and used without further purification. Hyphaene thebaica was sourced from the local market in Aswan, Egypt. Deionized water with a conductivity lower than 10−6 Scm−1 was employed in the experimental procedures.

Plant extract preparations

Organic Hyphaene thebaica fruits were obtained from the city of Aswan, Egypt. To remove any pollutants, the fruit was washed with distilled water and shade-dried. Then, the dried fruits were ground to powder and 5 g of powder was added to 100 ml distilled water under 70–90 °C for 2 h. Then, the extraction solution was allowed to cool at room temperature and filtered thrice for any leftovers using Whatman filter paper. The filtrate was obtained as a yellowish-golden solution and used for further procedure.

Green synthesis of MgO nanoparticles via Hyphaene thebaica

6g of Mg(NO3)2.6H2O was added to 100 mL of plant extract solution and stirred. After addition, a color change from darkish yellow to light yellow was observed. After aging overnight, the solution was kept in an oven at 150 °C for 3–4 h until it dried and turned into powder. For annealing, the powder was kept at 500 °C for 2 h and collected for further characterization and photocatalytic application as illustrated in Fig. 1.

Fig.1
Fig.1
Full size image

Schematic Diagram of Preparation of Magnesium Oxide NPs.

Physical characterization

Different techniques were used to evaluate the physical properties of MgO. The shape, surface, and internal morphologies were studied by SEM and TEM images. The size was also measured by processing SEM images through ImageJ software. XRD was performed using an X-ray diffractometer and the crystal structure was determined with mean crystallite size through Scherer approximation. EDX analysis was used to study the composition. The functional groups and nature of NPs were determined by FTIR and Raman Spectroscopy.

Photocatalytic performance of MgO NPs

The effectiveness of the synthesized MgO nanoparticles was evaluated via catalytic degradation of methylene blue (MB) azo dye under visible light at room temperature. Table 2 shows the chemical characteristics of MB dye. The photocatalytic testing was executed using a steel reaction chamber containing a 125 W lamp positioned centrally. Analysis of the UV–visible absorbance profile of the MB dye revealed a maximum absorption at 665 nm. A solution containing 10 ppm of MB dye was prepared (neutral pH), and 1 g/L of MgO nano-catalyst was added under stirring. Ice was utilized to maintain the temperature within the 25–30 °C range. To establish absorption equilibrium, the solution was maintained in darkness for 30 min before measuring the absorbance values using a UV–Vis spectrometer. Absorbance measurements were taken every 10 min under visible light, and the solution was exposed to light for a total of 110 min. Typically, the degradation of MB dye proceeded according to pseudo-first-order kinetics due to the reason that the concentration of the dye was much lower than that of the catalyst, with the extent of degradation quantified by MB concentration ratio, represented as Cf/Ci. Absorption percentage was computed according to the formula described38,39,40:

$$Percent \, Degradation \, = \, \left( {C_{i} - C_{f} } \right)/C_{i} x \, 100 \, \%$$
(1)

where Ci and Cf are the initial and final concentrations.

Table 2 Characteristics of Methylene Blue Dye.

Results and discussion

XRD analysis

XRD analysis was performed using the CuKα radiation in the range of 30–80° (2θ). Figure 2 shows the XRD analysis of green synthesized MgO NPs by Hyphaene thebaica fruit extract. The XRD peak contains 36.94°, 42.86°, 62.30°, 74.70°, and 78.62° are corresponding 2θ values that are attributed to (111), (200), (220), (311) and (222) planes of cubic MgO accordingly. Crystal planes resemble the crystal phase of JCPDS Card No. 97–7746. A sharp and intense peak is observed in the XRD spectrum around (200) which prove the high crystallinity of MgO NPs. The average crystalline size was measured by Debye Scherrer’s formula (Eq. 1).

$$D = \frac{0.9\lambda }{{\beta \cos \theta }}$$
(2)

where λ is the wavelength of Cu-kα radiation, β is the full-width half-maximum (FWHM) in radians, and θ is the angle of diffraction (in radians). The calculated average crystalline size for the obtained MgO NPs was 30 nm, and the computed lattice constant of MgO NPs is 4.213 Å. Additionally, the subsequent formulas (3) and (4) were employed to calculate the dislocation density δ and lattice strain ε31.

$$\delta = \frac{n}{{D^{2} }}$$
(3)
$$\varepsilon = \frac{\beta \cos \theta }{4}$$
(4)
Fig.2
Fig.2
Full size image

XRD analysis of green synthesized MgO NPs.

The observed δ and ε values for the MgO NPs were 1.11 × 1015 lines/m2 and 2.35 × 104, respectively. The decrease in crystallinity, indicated by the reduction in crystallite size and the rise in dislocation density, demonstrates the impact of the biosurfactant on the nanoparticles. The increased presence of defects in the MgO NPs likely contributes to their improved catalytic activity. Furthermore, the smaller crystallite size leads to tighter packing, more point contacts, and better inter-particle conductivity, which are expected to enhance the performance of the MgO NPs as a photo-catalytic material.

Microscopic and elemental analysis

The SEM micrographs of MgO confirm the formation of quasi-spherical NPs with agglomeration as shown in (Fig. 3a,b) while HR-TEM confirms the spherical NPs (Fig. 4 A,B,C,D,E, F) with distinct boundaries (Fig. 2). The size of MgO NPs was measured to be in the range of 20–60 nm as calculated with ImageJ software (Fig. 3c). The SAED Pattern (Fig. 4G) of NPs show the regular arrangement of particles in crystal lattice indicating good crystallinity. The cloudy appearance in SEM can be due to the presence of electrostatic interaction between MgO NPs as also reported by Pugazhendhi et al.41 and also the presence of carbonates on the surface42. Hassan et al. reported the spherical shape of MgO NPs prepared by Rhizopus oryzae by studying its morphology with SEM43. The morphology of ZnO NPs prepared by H.thebaica was also studied by H.E.A. Mohamed et al. The SEM and TEM images confirm the spherical shape and smaller size of ZnO NPs.

Fig.3
Fig.3
Full size image

SEM images of green synthesized MgO NPs at different magnifications: (a) 100 kx (b) 50 kx (c) Histogram depicting particle size distribution derived from the SEM images.

Fig.4
Fig.4
Full size image

HR-TEM images of MgO NPs at different magnifications (A) 500 nm; (B) and (C) 200 nm; (D) and (E) 100 nm; (F) 20 nm and (G) SAED pattern of MgO NPs.

The selected area electron diffraction (SAED) pattern revealed concentric rings accompanied by discrete spots, indicating the polycrystalline nature of the sample, as shown in Fig. 4G. Each ring corresponds to specific crystal planes, facilitating distinct Bragg reflections and lattice spacing. The stippled bands are associated with reflections at the (111), (200), (220), and (222) planes within the Fm3m space group. EDX analysis reveals prominent peaks corresponding to Mg and O, providing strong evidence for the formation of MgO (see Fig. 5). The composition comprises 40.47% Mg and 48.64% O by weight. Additionally, minor amounts of other elements such as K and Cl are present, constituting 8.42% and 2.46% respectively. The presence of potassium (K) and chlorine (Cl) can be attributed to the green synthesis method, which incorporates plant extracts or biological materials. These natural sources inherently contain potassium and chlorine, leading to their incorporation into the nanoparticles.

Fig.5
Fig.5
Full size image

EDS Spectrum of MgO NPs.

Dobrucka et al. also analyzed the composition of MgO nanoparticles, noting that the presence of peaks between 0.5 and 1.5 keV confirms the successful synthesis of the nanoparticles by using an aqueous extract of Artemisia abrotanum, which aligns with our findings. Their EDX profile of MgO nanoparticles reveals the weight percentages of Mg, O, Al, Si, K, and Ca to be 13.9%, 39.4%, 1.4%, 0.3%, 0.8%, and 0.5%, respectively which indicate minor incorporation of ions from plant extract44.

Raman spectroscopic analysis

Raman spectroscopy was employed to investigate the phase formation and structural attributes of the synthesized MgO nanoparticles (NPs), within the range of 230 cm−1 to 1500 cm−1. The recorded Raman spectrum, depicted in Fig. 6, shows prominent peaks at 280 cm−1, 482 cm−1, 806 cm−1, 980 cm−1, 1054 cm−1, and 1292 cm−1. The peaks observed at 280 cm−1, and 482 cm−1 were attributed to the cubic structure of MgO NPs. Previous studies have indicated that MgO reacts with CO2 to form MgCO345,46,47. The peak observed at 1054 cm−1 can be attributed to the carbonate group (CO32−), supporting the surface covering as confirmed via SEM42. In MgO microcrystals, Ishikawa et al. demonstrated first-order Raman scattering, noting peaks at 280 cm−1, 446 cm−1, and 1088 cm−1 48. These peaks are absent in bulk MgO, and the shift in our observed peaks relative to Ishikawa et al. can be attributed to side effects. Akram et al. reported Raman peaks at 268 cm−1, 440 cm−1, and 1339 cm−1, corresponding to the cubic structure of MgO49. These peaks indicate our formation of MgO NPs and are attributed to tangential modes in the amorphous phase50. Furthermore, other researchers have noted that Mg(OH)2, when subjected to annealing temperatures of 400 °C and above, transforms into MgO. The peaks observed at 280 cm−1 and 445 cm−1 are occasionally also associated with the bulk phase of Mg(OH)2, indicating the presence of surface contamination in nanoscale MgO42. This analysis emphasizes the significant structural transformations and the presence of various phases in the synthesized MgO nanoparticles, providing insights into their formation mechanisms and structural properties.

Fig.6
Fig.6
Full size image

Raman Spectrum of MgO NPs.

FTIR spectroscopic analysis

FTIR spectroscopic analysis was conducted to identify the functional groups involved in the chemical reactions during the formation of MgO nanoparticles, as illustrated in Fig. 7. The analysis revealed the presence of C–H (alkanes) rock bonds at 2923 cm−1 in the extracts, which transformed into CH2 bending and C–H “oop” (aromatic) bonds, respectively, during the synthesis of MgO nanoparticles. Mg-O bond was attributed to the intense peak at 560 cm−1 as evidenced by literature51,52.

Fig.7
Fig.7
Full size image

FTIR Spectrum of MgO NPs.

Additionally, the presence of the MgO was confirmed by the peak at 866 cm−1, which also indicated the occurrence of δ (O–C = O) bonds. This finding suggests that the degradation of alkanes and aromatics took place during the synthesis process, likely due to the utilization of magnesium nitrate as the precursor19. These alterations are attributed to changes such as oxidation, reduction, or degradation of phytochemical compounds occurring during the formation of MgO nanoparticles53. The FTIR spectral chart also identified the presence of alcohol, phenol, alkynes, and carboxylic acid. The broad absorption peak observed at 3440 cm−1 and peak at 1460 cm−1 in the prepared sample can be attributed to stretching and bending vibrations of hydroxyl groups (O–H) respectively. The weak absorption band located at 1104 cm−1 can be attributed to the stretching vibration of CO2 molecules or C-O saturated ions. The presence of these functional groups indicates the flavonoids, terpenes, polyphenols, alkaloids, and terpenoids from H. thebaica extract.

Generally, the green synthesis of nanoparticles involves three main stages: activation (involving reduction and nucleation), growth, and termination54. The abundance of hydroxyl groups in flavonoids, which possess rich electrons, effectively reduces Mg+2 ions during the activation stage. Interaction between hydroxyl groups and Mg ions leads to a conversion of flavonoids from the enol to the keto form, releasing reactive hydrogen atoms that, in turn, reduce Mg ions and form nanoparticles. Nucleation occurs when Mg ions are reduced, resulting in the formation of small nanoparticles. During the growth phase, these nanoparticles aggregate to form various morphologies. Nanoparticles reach their maximum activity during the termination phase, where they attain a stable form and size55,56. According to Tamilselvi et al., the detection of the peak within the range of 660–540 cm−1 serves as strong evidence for the existence of MgO, aligning with the observations made in our study. Phytochemicals extracted from aqueous sources contain various functional groups, which are integral to the synthesis process of MgO nanoparticles57.

Photocatalytic studies

The photodegradation of the MB dye using MgO NPs as a catalyst is shown in Fig. 8. The experiments were conducted to determine the catalyst's impact on visible radiation for the degradation of MB dye. Results have shown that in dark conditions, MB dye intensity is at its highest. The MB dye's absorption intensity gradually fades with time. After 110 min, the absorbance value was measured very low, and the solution of MB dye became colorless, indicating pollutant photodegradation under visible radiation58. The degradation efficiency was 98% after 110 min under visible light irradiation. Table 3 indicates that MgO nanostructures exhibit higher photocatalytic activity compared to some other reported metal oxide nanoparticles. The high catalytic activity of MgO NPs can be due to the enhanced surface area and smaller crystallite size. The broadening of the band gap in MgO NPs is likely to enhance their absorption of visible light, thereby significantly increasing the photodegradation rate of methylene blue dye. Similarly, Rawat et al. reported that the wider band gap of biogenic ZnO NPs contributed to a higher catalytic degradation of yellow dye, achieving a rate of 93.38%59.

Fig.8
Fig.8
Full size image

UV–Vis spectra showing the photocatalytic degradation of methylene blue dye using MgO nanoparticles as the nanocatalyst.

Table 3 Comparative Photodegradation efficiency of different metal oxide nanoparticles.

Three models have been applied to analyze the experimental data on the photocatalytic degradation of MB by MgO NPs, aiming to elucidate the degradation mechanism. The zero-order kinetic model is expressed by the Eq. (5). Where Co represents the initial concentration of MB, Ct represents the concentration of MB at time t, and k is the degradation rate coefficient. Figure 9a illustrates a graph of Ct/Co versus t, displaying a linear relationship with a slope of -k/Co. The linear behavior of the first-order kinetic model is described by the Eq. (6). In Fig. 9b, the value of k is determined from the slope of the linear plot of -Ln(Ct/Co) against time (t). The second-order kinetic model is represented by the Eq. (7):

Fig.9
Fig.9
Full size image

Photodegradation of methylene blue (MB) by MgO nanoparticles under visible light over 110 min, analyzed using kinetic models: (a) Zero-order model, (b) First-order model, (c) Second-order model.

$$\frac{{C}_{t}}{{C}_{o}}=1-\frac{{k}_{o}}{{C}_{o}}t$$
(5)
$$Ln\frac{{C}_{t}}{{C}_{o}}=-{k}_{1}t$$
(6)
$$\frac{1}{{C}_{t}}-\frac{1}{{C}_{o}}={k}_{2}t$$
(7)

The slope of the straight line of (1/ Ct -1/ Co) vs t indicates a value of k, as shown in Fig. 9c. Upon illumination with photons of the appropriate wavelength, the as-prepared MgO photocatalyst generates electron–hole (e − /h +) pairs. Exposure to visible light excites electrons within the photocatalyst, causing them to transition from the valence band to the conduction band. These energized electrons then interact with the photocatalyst's surface, leading to the formation of superoxide ions (O2−). Through protonation, these superoxide ions generate HOO• radicals, which can further react with electrons to produce H2O2. Simultaneously, the positively charged holes (h +) in the valence band react with water, resulting in the generation of H2O/O

$$MgO \, + \, h\upsilon \to \, e^{ - }_{CB} + \, h^{ + }_{VB}$$

H radicals via oxidation. This process leads to the formation of highly reactive oxygen species, such as O2, O2•−, OH, or HOO•, which are crucial for the efficient degradation of organic dyes60. To summarize, the reaction proceeds as

$$MgO \, + \, h\upsilon \to \, e^{ - }_{CB} + \, h^{ + }_{VB}$$
(8)
$$E^{ - }_{CB} + \, O_{2} \to \, O_{2}$$
(9)
$$O_{2}^{ \bullet - } + H^{ + } \to HOO$$
(10)
$$H_{2} O + h_{VB}^{ + } \to OH + H^{ + }$$
(11)
$$HOO^{ \bullet } + \, e^{ - }_{CB} + \, H^{ + } \to \, H_{2} O_{2}$$
(12)
$$H_{2} O_{2} + \, e^{ - }_{CB} \to^{ \bullet } OH \, + \, OH^{ - }$$
(13)

CB: Conduction band, VB: Valence band.

The degradation of methylene blue (MB) dye is well-documented to begin with the cleavage of the C–S + , = C bond. This process leads to the complete transformation of nitrogen-containing heteroatoms into ammonium (NH4+), nitrate (NO3−) ions, carbon-containing heteroatoms into carbonate (CO32−) ions, and sulfur-containing heteroatoms into sulfate (SO42−) ions during the mineralization process61;

C16H18N3S +  + 102OH· + visible light → 16CO2 + 3NO2−3 + SO2−4 + 6H +  + 57H2O.

The breakdown of MB dye is attributed to the creation of ROS species such as HOO, O2, OH, or O2•−. Moreover, the structural and morphological characteristics of the MgO NPs prepared to play a significant role in the efficiency of the photocatalytic reaction since the reaction occurs on their surface and active sites vary with each morphology. Uniform and well-crystallized MgO NPs can reduce the recombination rate of photogenerated electron–hole pairs, thus promoting rapid photoreactive degradation. The study findings suggest that the prepared MgO nanoparticles exhibit effective photocatalytic activity in degrading organic dyes under UV light exposure. Additionally, the recyclability and photostability of the MgO NPs were assessed by conducting photodegradation experiments under similar conditions, with the MgO NPs washed thrice while being centrifuged following each cycle. The results demonstrate a high level of reusability, with dye degradation rates of 98%, 88%, and 79% achieved during the first, second, and third cycles, respectively27,62.

Conclusion

This study successfully synthesized MgO nanoparticles using a green chemistry approach, highlighting its environmental friendliness and cost-effectiveness. Extensive characterization techniques, including XRD, FE-SEM, HR-TEM, FTIR, and Raman spectroscopy, were employed to investigate the microstructure and properties of the nanoparticles. XRD analysis confirmed a polycrystalline cubic structure, while FE-SEM images revealed agglomerated quasi-spherical nanoparticle morphology. FTIR analysis verified the presence of Mg-O bonds. The photocatalytic performance of the MgO nanoparticles exhibited an impressive degradation efficiency of 98% for methylene blue dye under visible light within 110 min. These findings demonstrate the potential of MgO nanoparticles as highly effective photocatalysts and adsorbents for treating industrial effluents. Regarding scalability and commercialization, the development of green-synthesized nanoparticles offers a pathway to a more sustainable and resilient future. However, several challenges persist, including the need for precise control over particle characteristics, a deeper understanding of the biosynthesis mechanisms, and ensuring consistent pollutant removal efficiency. The variability in particle sizes and shapes, along with concerns about storage stability, underscores the need for continued refinement of synthesis methods. Additionally, a comprehensive toxicological evaluation and the optimization of genetically modified microorganisms or plants are essential to fully harness the potential of green-synthesized nanoparticles. Despite these challenges, the pursuit of sustainable and efficient nanoscale metal synthesis represents a promising avenue for future scientific research and innovation across disciplines. As progress continues in this field, the potential for greener and more responsible nanoparticle synthesis becomes increasingly apparent.