1 Introduction

Recent scientific and technological advances, particularly in nanotechnology, have resulted in unveiling more methods for synthesizing nanoparticles [1, 2]. Because of the vast number of dyes, detergents, and pigments used in the textile industry, there has been a concerted effort to develop suitable technology for the removal of industrial effluents. It is now possible to follow nanoparticle (NP) synthesis techniques that use fewer costly chemicals, are less harsh on reaction conditions, and are environmentally friendly [3]. Due to their ability to remove organic and inorganic contaminants from water, iron nanoparticles (Fe2O3 NPs) have piqued the interest of researchers in recent years [4,5,6]. Nanotechnology is a discipline of science concerned with altering materials at small scales. Metallic NPs may be synthesized using both chemical and physical methods. However, these approaches carry drawbacks, such as the use of harmful substances and their effect on the environment. Hence, to deal with this problem, green chemistry research in nanotechnology has become the targeted focus recently [7,8,9]. To enhance adsorption qualities, the surface area and mass ratios must be increased. As a result, numerous researchers were pushed to create green chemistry and bioprocesses to manufacture NPs that were clean, reliable, biocompatible, benign, and environmentally friendly [10,11,12,13]. The use of green synthesis has resulted in the production of exceptionally stable NPs even though it is challenging to keep NPs intact during green synthesis.

Aloe barbadensis juice is widely known for its calming properties. This medication is often used with ointment for skin burns and abrasions. The therapeutic properties of this ancient plant may be even stronger today [14]. Aloe barbadensis’s anti-aging properties are well known, and it is often utilized in cosmetics. Those who follow natural health profiles have long regarded these veggies as strong superfoods [15]. Aloe barbadensis is high in antioxidant vitamins A and C, as well as B12, folic acid, and choline, among other nutrients. Among the eight enzymes revealed by this molecule are catalase, alkaline phosphatase, amylase, and cellulose. Calcium, copper, selenium, chromium, manganese, magnesium, potassium, and zinc are among the minerals contained in Aloe barbadensis. Because of its antioxidant characteristics, Camellia sinensis is a well-known nutraceutical. This dish is loaded with antioxidants and nutrients [16]. Tea contains anti-inflammatory and cancer-fighting polyphenols. Caffeine is present in Camellia sinensis. This product also contains the amino acid L-theanine, which has the ability to pass the blood–brain barrier.

In the present work, Fe2O3 nanoparticles were synthesized using Camellia sinensis and Aloe barbadensis leaf extract along with their comparative study [17]. A green, sustainable and facile approach was followed. The prepared NPs were then analyzed for their dye removal efficiency, which reached up to 80% under optimum conditions. The manufacture of green Fe2O3 nanoparticles is a quick, low-cost, and efficient process. Because of its remarkable structural, electrical, and optical features, NP synthesis has recently gained attention. They may alter their looks as they mature. To lessen the environmental impact, a green synthesis process must be developed [18]. Moreover, the kinetic study was made to study the correlation between the adsorption of the azo dyes in the presence of Fe2O3-nanoparticles.

2 Material and methods

2.1 Materials

All the chemicals used in this study were of analytical grade with 99% purity and purchased from Sigma-Aldrich. The Camellia sinensis leaves were bought from a commercial tea vendor while Aloe barbadensis leaves were obtained from nearby botanical garden of Karachi University.

2.2 Synthesis of Fe2O3-NPs by Aloe barbadensis leaf extract

2.2.1 Preparation of extract

The Aloe barbadensis leaves were collected from the botanical garden. The plant materials were washed several times with deionized water to remove adhering dirt and impurities and dried. The dried leaves were cut into small pieces, dissolved in 250 ml of deionized water, and heated at 60℃ for 15 min. The collected extract was stored at 6℃ for further use.

2.2.2 Synthesis of Fe2O3-NPs

Iron chloride (FeCl3·6H2O) was used as a precursor. A 0.01 M FeCl3·6H2O black solution was added to Aloe barbadensis leaf extract in the ratio of 1:1 proportion. Fe2O3-NPs were formed almost immediately after heating the mixture for 20 min at 80 °C. To separate the NPs, the mixture was centrifuged, ethanol washed numerous times, filtered, and dried under vacuum at 40 °C. Aloe barbadensis leaves have the greatest potential for ferric chloride reduction when treated with ferric chloride salt. The NP formulation was validated by the external color change from evolving pale orange to dark red.

2.3 Synthesis of Fe2O3-NPs using Camellia sinensis extract

2.3.1 Preparation of extract

Fe2O3-NPs were synthesized using Camellia sinensis leaves obtained from a local tea vendor, i.e., Tapal Tea. The extract of Camellia sinensis was prepared by stringing 30 g of tea in 1000 ml deionized water at 70℃ for 20 min. The solution was then filtered, cooled, and stored at 6℃ for the synthesis of Fe2O3-NPs.

2.3.2 Fe2O3-NPs synthesis

Iron chloride (FeCl3·6H2O) was used as a precursor. A 0.01 M FeCl3·6H2O black solution was added to Camellia sinensis leaf extract in a ratio of 1:1 proportion. 30 min of stirring at room temperature produced a colloidal suspension. The mixture was then centrifuged and rinsed many times with ethanol before being dried at 40 °C in a vacuum. The formulation of NPs was validated by an exterior color shift from light yellow to black.

2.4 Characterization techniques

Scanning electron microscope (JSM-6480) was used to analyze the particle size, surface morphology, and shape of Fe2O3-NPs. X-ray diffractometer (XRD) was used to analyze the structure of NPs. The adsorption spectrum of prepared Fe2O3-NPs was observed with the help of UV–Vis spectrophotometer (Spectrumlab 22PC, Shanghai; Lengguang Technology Co. Ltd., Shanghai, China).

3 Results and discussion

3.1 Color change

The color change indicates the formation of Fe2O3-NPs. The pale-orange color was turned into dark red for Aloe barbadensis extract [19], while the pale-yellow color turned into dark black using Camellia sinensis indicating the formation of Fe2O3-NPs [20] as shown in Figs. 1 and 2, respectively. This color change for both Aloe barbadensis and Camellia sinensis extract is arising from the metabolic chemical reaction of an extract with precursor.

Fig. 1
figure 1

XRD results of Fe2O3-NPs: a Camellia sinensis extract, b Aloe barbadensis extract

Fig. 2
figure 2

SEM Images for Fe2O3 NPs obtained using Camellia sinensis extract (A, B, C); Fe2O3 NPs obtained using Aloe barbadensis leaf extract (D, E, F)

3.2 XRD results

Figure 1 shows the XRD results of Fe2O3-NPs synthesized via Aloe barbadensis and Camellia sinensis extracts (XPERT-PRO). The obtained data matched with the reference of JCPDS card No. (024–0074). In Fig. 1a, the XRD spectrum shows different diffraction peaks for Fe2O3 from Camellia sinensis having 2 \(\uptheta\) values of 24, 33, 35, 41, 49, and 54 corresponding to the crystal planes of [012], [104], [110], [113], [024], and [116], respectively. In Fig. 1b, the diffraction peaks for Fe2O3 from Aloe barbadensis extract having 2 \(\uptheta\) values of 35.5 and 62.5 correspond to a crystal plane of [110] and [214], respectively, which show the appearance of Fe2O3-NPs at different crystal planes synthesized using Aloe barbadensis extract.

Fig. 3
figure 3

Functional groups present in iron oxide nanoparticles. a Aloe barbadensis; b Camellia sinensis

3.3 SEM results

Figure 2 shows the surface morphology and average particle size of Fe2O3` oxide nanoparticles analyzed under SEM model (JSM-6480) at different magnifications. As shown in Fig. 4AC, Fe2O3-NPs obtained using Camellia sinensis extract, the particles are spherical and cubic. It can be seen in Fig. 4AC that the Fe2O3-NPs are more agglomerated rather than uniformly distributed. The average particle size for Fe2O3 nanoparticles was around 60–80 nm. On the other hand, the iron oxide nanoparticles obtained using Aloe barbadensis (Fig. 4DF) were spherical and circular. The cubic size of these particles ranged between 80 and 100 nm.

Fig. 4
figure 4

UV–vis images of iron oxide nanoparticles. a Aloe barbadensis and b Camellia sinensis

3.4 FTIR analysis

In the present study, FT-IR spectrum was analyzed to confirm Fe2O3 NPs. As shown in Fig. 3, the peak at 553.63 indicated the formation of Fe2O3-NPs. The O–H stretch in carboxylic acid appears at 2853.3 cm−1. The band at 3404 cm−1 is due to stretching vibrations of O–H groups in water, alcohol, and phenols. The broad peak exhibited at 3406 cm−1 indicates the stretching of the -OH group of phenol and carbohydrate monomers which includes mannose and uranic acid. The peak at 2891 cm−1 was assigned for asymmetrical and symmetrical C-H stretching of aliphatic -CH2 and -CH groups.

3.5 UV–vis spectrophotometer

Figure 4 shows the absorption peak of Fe2O3-NPs synthesized by tea and Aloe barbadensis extract. It can be observed that the absorption peaks of UV–vis spectroscope range from 270 to 300 nm which confirms the formation of Fe2O3-NPs [20]. The UV–vis range of Fe2O3-NPs is at 275 nm occurring using Aloe barbadensis leaf extract, whereas the absorption range of Fe2O3-NPs is at 270 nm by using Camellia sinensis extract. The mechanism of light-matter interaction was used in which the Fe2O3-NPs absorb the ultraviolet radiation, hence producing distinct spectra. As per the statement of Beer-Lambert’s law, the greater the concentration of absorbing molecules in a solution, the greater will be the absorption of radiations [21].

3.6 Effect of parameters on azo-dye removal using Fe2O3-NPs

3.6.1 Effect of time

A UV–vis spectroscope was used to investigate the effect of time on the proportion of azo-dyes that degraded. Figure 5a and b demonstrates Aloe barbadensis and Camellia sinensis F-1 and F-2 examples of iron oxide NPs generated (A.V. and GT). All samples required between 40 and 45 min to remove the azo dye at a rate of 75 to 80%. The graphs demonstrate that the degradation of azo dyes malachite green-MG and acid red 28-CR with adsorbent Fe2O3-NPs is time-dependent. The temperature and initial concentration were kept constant throughout the experiment at 308 Kelvin and 20–250 mg/l, respectively.

Fig. 5
figure 5

a Effect of time by Fe2O3-NPs samples F-1 and F-2 (AV, GT) on Congo red dye calculated by ultraviolet spectrometer DB-20. b Effect of time by Fe2O3-NPs samples F-1 and F-2 (AV, GT) on malachite green dye calculated by ultraviolet spectrophotometer DB-20

3.6.2 Effect of pH

The influence of pH on the removal of Congo red and malachite green azo dyes was investigated using a UV–vis spectroscope (Fig. 6). The degradation rate of azo dyes was determined experimentally throughout a pH range (2–14). For samples F-1 and F-2, the maximum rate of Congo red dye degradation was reported at a pH of 5. Malachite green, on the other hand, showed the greatest deterioration at pH 4. This implies that the optimal pH for removing both dyes is between 4 and 5, respectively. In addition, the graph demonstrates that dye removal is effective when the pH is acidic, but the degradation rate reduces dramatically when the pH approaches basicity.

Fig. 6
figure 6

a Effect of pH by Fe2O3-NPs sample F-1 and F-2 (synthesized by Aloe barbadensis and Camellia sinensis extract) on Congo red dye calculated by ultraviolet spectrophotometer DB-20. b Effect of pH by Fe2O3-NPs sample F-1 and F-2 (synthesized by Aloe-barbadensis and Camellia sinensis extract) on malachite green dye calculated by ultraviolet spectrophotometer DB-20

3.6.3 Effect of temperature

The temperature affects percentage degradation effectually. The observed results (Fig. 7) indicate that after increasing temperature from 320 to 360 K, the percentage removal potential of Fe2O3-NPs samples F-1 and F-2, i.e., green synthesized by Aloe barbadensis and Camellia sinensis, respectively, increases significantly. For Congo dye, the highest removal was achieved at a temperature 340 K (F-1, F-2), whereas for Malachite Green, it was 350 K, respectively. For both the dyes, the removal efficiency of nanoparticles significantly improved when the temperature increased from 320 K. Hence, the optimum temperature range for nanoparticles to remove the dyes was found to be between 330 and 350 K, respectively.

Fig. 7
figure 7

a Effect of temperature by Fe2O3-NPs sample F-1 and F-2 on colored dye calculated by ultraviolet spectrophotometer DB-20. b Effect of temperature by Fe2O3-NPs sample F-1 and F-2 on malachite green dye calculated by ultraviolet spectrophotometer DB-20

3.7 Adsorption kinetic studies

The kinetic study of azo dye adsorption was done using optimum conditions. The kinetic parameters are useful for the analysis of the adsorption rate. A relationship between different parameters was observed for linearity. The rate constant was calculated using a graph, and constants were calculated from adsorption kinetic models at 35 °C.

3.7.1 Pseudo-first-order kinetic models of Fe2O3-NPs

P-F-O model (Lagergren kinetic model) is the most experimented kinetic model for explaining the solute adsorption in solution (Fig. 8). The expression is given below:

Fig. 8
figure 8

PFO model of iron oxide NPs

$$\mathrm{In}\left({\mathrm{q}}_{\mathrm{e}}-{\mathrm{q}}_{\mathrm{t}}\right)={\mathrm{Inq}}_{\mathrm{e}}-{\mathrm{K}}_{1}\mathrm{t}$$
(1)

where qe, qt is the amount of adsorbent NPs and nanocomposites, t is time, and k1 is the constant of P-F-O adsorption. When this equation is applied to experimental data between ln (qe-qt) versus time, the straight line proves that the model fits best for adsorption.

3.7.2 Pseudo-second-order kinetic model of Fe2O3-NPs

From the readings of R2 for pseudo-first-order and pseudo-second-order, it was concluded that the pseudo-second-order model provides a better correlation. The R2 value from the graph for pseudo-second-order kinetics of CR and MG was 0.997, 0.99, 0.998, and 0.989 for F-1 and F-2 samples synthesized via Aloe barbadensis and Camellia sinensis leaf extracts, respectively, at an optimum temperature of 35 °C. This high value indicates that adsorption of colored and malachite green dye onto adsorbent follows a pseudo-second-order model of kinetics (Fig. 9).

Fig. 9
figure 9

Kinetic study of pseudo-first-order and pseudo-second-order

3.8 Adsorption isotherm models

The experimental adsorption kinetic data was judged by using reaction adsorption models Langmuir adsorption isotherm and Elovich adsorption models based on the assumptions that the adsorption mechanism is based on chemical reactions that are responsible for absorption. The Langmuir isotherm relies on the assumption that there is no lateral interaction, but the reactive groups species are homogeneously distributed to the surface of the particulate. The results are listed below in graphical form to confirm the applicability of these models for linearity (Fig. 10).

Fig. 10
figure 10

Adsorption isotherms

4 Conclusion

The green synthesized Fe2O3 nanoparticles are cost-effective biogenic molecules with the ability to serve as dye absorbents. The current study has shown the effective synthesis of iron oxide nanoparticles with an average particle size between 80 and 100 nm using leaf extracts of Aloe barbadensis plant and Camellia sinensis. Moreover, an extensive study has been made for the removal of azo dyes using Fe2O3 nanoparticles. Contact time, pH, and temperature were the parameters that affected the adsorption phenomena and were found satisfactory for this study. A time-dependent adsorption criterion was observed. About 70–80% of azo dye removal, i.e., azo dyes malachite green-MG and acid red 28-CR with Fe2O3 NPs as adsorbent, has been achieved in 40–45 min under optimum conditions. Moreover, the pseudo-second-order kinetic model fitted best with experimental data on dye removal with an R2 value of F-1 and F-2 samples for CR-dye as 0.997 and 0.99, respectively. In addition, the R2 values for F-1 and F-2 samples for MG-dye as 0.998 and 0.989, respectively.