Introduction

Today, organic pollutants are among the most important and dangerous pollutants in water resources. Due to the release of hazardous and cancer-causing substances in the aqueous phase, the presence of these contaminants has caused serious health and environmental problems (Liang et al., 2021). In the meantime, pesticides are one of the most common organic pollutants that are being considered today. Under normal environmental conditions, the majority of pesticides’ active substances are resistant. Surface and subsurface water contamination is a result of pesticides’ persistence in aquatic environments and their potential undesirable health effects. There is a lot of concern now about the possible adverse effects of these pesticides’ presence in food and water on human health and ecosystem balance (Zadeh et al., 2021). Among the possible chronic effects of these compounds, we can mention carcinogenesis, neurological disorders, effects on reproduction, and effects on cell growth, especially in the early stages of life. In addition, typical oxidation processes might result in the formation of mutagenic compounds (Farmany et al., 2016).

Meanwhile, organophosphorus pesticides are one of the most widely used pesticides in the world. which enter water sources in various ways, including industrial effluents, agricultural runoff, and the use of chemicals (Toolabi et al., 2018). They also have the highest consumption of all pesticides and are widely used in agriculture to increase production and resolve nutritional needs (Sillanpää et al., 2018). Diazinon is one of the most well-known phosphorus-containing pesticides and has been classified by the World Health Organization as a class II dangerous substance (Salarian et al., 2016). Diazinon is non-polar and relatively soluble in water. Also, it is mobile and stable in soil and does not evaporate easily from soil or water. Therefore, its presence in drinking water and groundwater seems to be of concern (Kalantary et al., 2015). The oral toxicity of this insecticide is around 300 mg/kg. This pesticide’s acute toxicity can cause diseases like cancer, nervous system disorders, severe intestinal contractions, and low blood pressure (Dehghani et al., 2019) (Fig. 1).

Fig. 1
figure 1

Molecular structure of diazinon

So far, processes such as surface absorption, filtration, membrane separation, biological decomposition, and chemical coagulation have been used to remove diazinon (Ghodsi et al., 2020). Because they just transport pollutants from one phase to another and only partially remove them, these methods are not very effective for purification. They can also generate secondary toxic contaminants and are not cost-effective (Sayadi et al., 2022a). Advanced oxidation techniques (AOPs) have recently been introduced as efficient methods for removing diazinon. One of the most effective AOPs for oxidizing resistant organic materials and changing their nature is photocatalytic oxidation (Yang et al., 2021). Through this process, pollutants are broken down by UV irradiation. Radiation stimulates the semiconductor catalyst, which leads to electron transfer to the molecule’s surface layers and the production of electron-holes. The resulting hole has a strong oxidizing and electron-reviving property, and with the production of hydroxyl radicals, it causes the degradation of polluting organic molecules (Chamanehpour et al., 2022). Today, photocatalytic processes using nanoparticles are very efficient methods that result in the complete mineralization and degradation of organic pollutants without the production of harmful compounds in the environment (Ghodsi et al., 2020).

Among the different types of semiconductor photocatalysts, zinc oxide nanoparticles can be recognized as a practical photocatalyst for diazinon removal due to their environmental friendliness, electrochemical and electrical properties (Abebe et al., 2021), high light absorption coefficient, cheapness, fast electron-hole transfer, and chemical stability (Ghaderi et al., 2018). But, because of its wide bandgap (3.37 eV), light can only be absorbed in the UV region. Also, pure ZnO is inherently an insulator, which restricts its application in electrical and optoelectronic devices that need conducting or semiconducting components (Wang et al., 2021). The formation of a nanoparticle via n-n or n-p junctions and fostering heterogeneous bonding with the addition of metal oxides and photosensitizers to ZnO can enhance its photodegradation (Abebe et al., 2020a). These metal oxides can have several functions, which include the following: (1) changing the band gap can increase the amount and range of light absorption. (2) By combining two metal oxides, rough surfaces can increase porosity, and thus facilitate electron transfer (Goyal et al., 2018). (3) A higher degree of porosity improves the absorption of diazinon by the formed nanoparticle (Długosz et al. 2021). (4) ZnO nanoparticle modification can provide multipurpose products with unique properties in addition to enhancing the photocatalyst’s properties (Sin et al., 2018). 5) The construction of heterogeneous bonds adjusts the transport of electrons.

Among metal oxides, Fe3O4 nanoparticles have a high photocatalytic activity, a simple operation, a synergistic effect with other nanoparticles, and have magnetic properties (Wang et al., 2016). This magnetic feature makes it easier to recycle the nanoparticle, and after photodegradation, a strong external magnetic field can easily separate the nanoparticle (Długosz et al. 2021). These nanoparticles have been highly regarded for the creation of metal composites because of their accessibility, affordability, friendliness to the environment, and thermodynamic stability (Abebe et al., 2020b). Many studies have been conducted on the removal of pollutants with nanomaterials, such as the 100% removal of atrazine pesticide by using Fe3O4-TiO2/rGO (Boruah and Das, 2020), the decomposition of 85.2% of diazinon toxin under optimal conditions using graphene/ZnO doped with manganese under ultraviolet light (Mohammadi et al., 2019), and the 85% removal of diazinon by sonophotocatalytic process using TiO2 nanoparticles doped with iron (Tabasideh et al., 2017).

On the other hand, it is crucial to pay attention to the design of experiments for reasons including maximizing the validity of results, efficient use of resources, repeatability, optimization, improving processes, and saving time and money. Response surface methodology (RSM) is one of the test design methods that are used to optimize the effective parameters of the test. RSM is a mathematical and statistical technique used to model and optimize complex interactions between several variables and an interest response (Singh and Verma, 2019). N-doped TiO2 nanosheets were utilized by Salarian et al. in the RSM method to remove diazinon. They used central composite design (CCD) to model and improve operational degradation factors such as pH, catalyst dose, initial pollutant concentration, and irradiation time. Their results showed that the modeling can determine the optimal parameters well and predict the acceptable amount of degradation (Salarian et al., 2016).

In this regard, the goal of this research is to investigate the efficacy of ZnO/Fe3O4 magnetic nanocomposite for photocatalytic removal of the diazinon toxin from aqueous environments. This research has tried to achieve a comprehensive and systematic method for the removal of pollutants by combining modeling methods, experimental tests, and software analysis in order to achieve high performance in photocatalytic degradation with the least number of test runs. To improve the performance of the synthesis nanoparticle in removing the diazinon pollutant, parameters such as solution pH, contact time, nanoparticle concentration, and toxin concentration were also optimized using the response surface method. Due to the high amount of hydroxyl radical produced, easy access, non-toxicity, production of electron-hole pairs, and decreased recombination rate, the synthesized nanoparticle is capable of high photocatalytic activity, which is more than ZnO and Fe3O4. In addition, it has a great capacity to remove organic contaminants, especially diazinon toxin, by generating active oxidative species like OH.

Material and method

Raw materials

Zinc nitrate 99.9% (Zn (NO3)2), iron (II) sulfate heptahydrate 99% (FeSO4·7H2O), sodium hydroxide 98% (NaOH), tetraethyl orthosilicate 99.9% (SiC8H20O4), and ethanol 99% (C2H6O) were purchased from Sigma Aldrich and Merck.

Synthesis of ZnO/Fe3O4 nanoparticles

At first, zinc oxide nanoparticles were synthesized using the co-precipitation method. A solution of 0.5 M Zn(NO3)2 was prepared in 50 ml of distilled water. Using a 1 M NaOH solution, the pH value was adjusted to 8. The solution was kept at 80 °C for 5 h. The sediment was collected, washed, and dried. Finally, it was calcined at 400 °C for 1 h. The resulting white precipitate shows ZnO nanoparticles (Elshypany et al., 2021). Then, using an oxidation method, Fe3O4 nanoparticles were synthesized. First, 100 ml of distilled water was used to dissolve 0.027 g of FeSO4·7H2O. By adding a dropwise 6 M NaOH solution to the previous solution, the pH is adjusted to 11. Air flow was then introduced, and the solution was kept at 25 °C for an additional hour. The precipitate of Fe3O4 was washed and dried in an oven (Sayadi et al., 2019). ZnO/Fe3O4 magnetic nanocomposite was created using the sol-gel method. By using ultrasonic, an appropriate amount of Fe3O4 and ZnO with a weight ratio of 0.8:1 was dispersed separately in a mixture of ethanol and water (1:4). In a separate container, 1 ml of tetraethyl orthosilicate (TEOS) was added to the solvent solution, and 2 ml of 0.1 normal HCl was added to it under stirring conditions. Then, the solution containing ZnO nanoparticles was added to the TEOS solution, and after 15 min, the solution containing Fe3O4 nanoparticles was also added to the above solution under mechanical stirring. To form a gel, the solution was stirred for an additional 6 h. The resultant gel was vacuum-dried at 60 °C for 2 h to produce the powder. The resulting deposit is ZnO/Fe3O4 nanoparticles (Wong et al., 2011).

Characterization

To identify and determine the properties of the produced nanoparticles, numerous analyses are needed. X-ray diffraction (Rigaku Ultima IV XRD) and Cu Ka radiation (l = 0.15418 nm) were used to determine the samples’ crystal structure and crystalline phase. Additionally, a field emission scanning electron microscope was used to determine the morphology and size of the synthesized nanoparticles (FESEM, ZEISS Sigma 300). XPS analysis (VG ESCALAB 210 electron spectrometer) was used to identify the existing compounds and chemical states of the desired nanoparticles. A VSM device (LBKFB, Iran) was also used to check the sample’s magnetic characteristics. FT-IR analysis (Thermo Nicolet Avatar 360) was used to identify the compounds and bonds in the desired nanoparticles.

Optimization of parameters

The Design-Expert 7.0.0 software’s Box-Behnken Design (BBD) model was used to carry out the optimization process. BBD is one of the design models in the response surface method (RSM). BBD makes it easier to optimize the useful parameters with the minimum number of experiments and also provides the possibility of analyzing the interaction between the parameters (Polat & Sayan, 2019). The investigated variables include pH, contact time, amount of nanoparticles, and diazinon concentration. To investigate the effects of parameters, 30 test runs over 2 days were selected. Diazinon concentrations of 10 to 50 mg/L, solution pH of 3 to 11, contact times of 10 to 120 minutes, and catalyst concentrations of 0.1 to 1 g/L were defined in the model. Each sample’s pH was adjusted using either 1 M HCl or 1 M NaOH.

Photocatalytic removal of diazinon

The photocatalytic removal experiments on diazinon were carried out in a 100-ml Pyrex reactor under UV-C light (6 W, Philips, 254 nm spectrum) at ambient temperature and pressure after determining the values of the parameters in each experimental run. The pH settings, contact time, amount of nanoparticles, and diazinon concentration were all known for each test run. After the completion of each run, a sample of the solution was taken in order to use a spectrophotometer to measure the concentration of diazinon at a wavelength of 247 nm. Using reaction (1), determine the volume of diazinon removal by photocatalytic degradation (Ahmadpour et al., 2020):

$$Diazenon\ Removal\left(\%\right)=\frac{C_0-{C}_e}{C_0}\times 100$$
(1)

In this relationship, R is the pollutant decomposition efficiency (percent), C0 is the initial concentration of the pollutant in the solution (mg/l), and Ce is the final concentration of the pollutant in the solution after the decomposition process (mg/l).

Finally, the optimal value of each experimental parameter was determined, and the experiment was repeated once again under optimal conditions to determine the amount of diazinon photocatalytic removal under optimal conditions. Additionally, after each test under ideal conditions, the produced nanoparticles were collected using a magnet and cleaned many times with distilled water to assess its capacity to be reused. It was then dried for 2 h at 60 °C.

The resulting precipitate was used in five test cycles to measure the reusability of the nanoparticles to remove diazinon (Chamanehpour et al., 2022).

Results

Characterization of ZnO/Fe3O4 nanoparticles

The synthesized nanoparticle structural characteristics were analyzed and investigated by XRD, FT-IR, FESEM, XPS, and VSM analyses. These results are described below.

XRD spectrum

The X-ray diffraction pattern of ZnO/Fe3O4 nanoparticles is presented in Fig. 2a. As can be observed in the figure, the existence of diffraction peaks for ZnO/Fe3O4 demonstrates the formation of crystalline phases and the cubic spinel structure of the nanoparticles. The drawn pattern matches JCPDS standard patterns No. 36-1451 for ZnO (Chu et al., 2021) and No. 19-0629 for Fe3O4 (Sayadi et al., 2022b). 2θ equals 30.81°, 34.44°, 35.58°, 47.60°, 56.62°, 57.18°, 62.63°, and 67.97° belong to the crystal planes (100), (002), (311), (102), (110), (511), (440), and (112) respectively. These peaks relate to the hexagonal phase of ZnO and the cubic spinel phase of Fe3O4, which are shown in the figure with red and blue colors, respectively (Erim et al., 2022; Sajjadi et al., 2019). The Debye–Scherrer reaction (Reaction 2) was used to determine the average crystallographic size of the particles using the XRD results (Chamanehpour et al., 2023):

$$D=\frac{k\uplambda}{\upbeta\ \mathit{\cos}\uptheta}$$
(2)
Fig. 2
figure 2

Characterization of ZnO/Fe3O4 nanoparticles (a XRD, b FTIR, c FESEM, d VSM)

where β is the width of the peak at half maximum intensity in radians (FWHM), θ is the angle of the peak location, D is the crystal size of the particles, and λ is the wavelength of the X-ray corresponding to KUKα (0.154056 nm), and the coefficient k for spherical particles is 0.9. According to the preferred peak (the peak with the highest intensity), the average crystal size of the particles for the ZnO/Fe3O4 nanoparticles sample was found to be about 45 nm.

FT-IR spectrum

Figure 2 b displays the ZnO/Fe3O4 nanoparticles FT-IR spectra in the 400–4000 cm−1 regions. The resulting inverse absorption peaks in this spectrum can be used to identify the bonds in the sample. A strong inverse absorption peak at around 3500 cm−1 is visible in the FT-IR spectra of the ZnO/Fe3O4 nanoparticles and is attributable to the vibrational stretching groups O–H and H–O–H found in the structure of the absorbed water molecules (Liu et al., 2015). Additionally, the surface absorption of water and hydroxyl groups is related to the strong inverse absorption peak at 1700 cm−1 (Mahmoodabadi et al., 2018). Inverse absorption peaks located between 900 and 1700 cm−1 are attributed to C–O groups (Durmus et al., 2015; Zhang and Wu, 2013). The inverse absorption peaks located at about 400 and 600 cm−1 seen in the ZnO/Fe3O4 nanoparticles are respectively related to the Fe–O and Zn–O metal-oxygen groups present in the structure of the nanoparticles (Chireh et al., 2019; Goyal et al., 2015). The results showed that all functional groups related to ZnO and Fe3O4 are present in the synthesized ZnO/Fe3O4 nanoparticle structure, which can play a key role in pollutant absorption.

FESEM analysis

By using FESEM images, the morphology of the ZnO/Fe3O4 nanoparticles was investigated. As seen in Fig. 2c, the nanoparticles have an almost spherical and uniform shape, and some particles are stuck together, which is inevitable due to the inherent magnetic property of iron ferrite (Fe3O4) particles. The accumulation of particles might also be caused by the temperature rise that occurs during heat treatment. In other words, some degree of particle accumulation at high temperatures is inevitable as a result of the fusion of a variety of neighbors caused by the melting of the particle’s surface (Wu et al., 2015; Naseri et al., 2016). Using the software Digimizer, the average particle size was determined to be 41 nm, which is consistent with previous studies (Bisht et al., 2016).

VSM analysis

The vibrating sample magnetometer curve of the ZnO/Fe3O4 nanoparticles sample is shown in Fig. 2d. According to its shape, the sample exhibits superparamagnetic behavior with a very small coercive field and has a very small hysteresis loop (Habibi-Yangjeh and Golzad-Nonakaran, 2018). The saturation magnetization (MS) for ZnO/Fe3O4 nanoparticles was obtained at 4 emu/g. Therefore, it can be claimed that the magnetic property of the combined catalyst of iron ferrite and zinc oxide makes it simple for a magnet to separate it from the aqueous solution. In practical applications of photocatalysts, catalyst stability and recycling play an important role, and the synthesized nanoparticles have this property.

XPS spectrum

With the use of X-ray photoelectron spectrometry, Fig. 3 shows the chemical state of the final ZnO/Fe3O4 nanoparticle surface, which has been demonstrated separately in the general extent and also in the bond energy related to iron and zinc peaks. The results show the presence of Fe (Fe 2p1/2, Fe 2p3/2, and Fe 3p), Zn (Zn 2p1/2, Zn 2p3/2, Zn 3d, and Zn 3s), oxygen (O1s), and weak carbon (C1s) peaks. In high-resolution spectra, the binding energies of the Fe 2p1/2, Fe 2p3/2, Zn 2p1/2, and Zn 2p3/2 peaks are 724.9, 711.3, 1044.9, and 12.21.7 electron volts, respectively (Elshypany et al., 2021). The presence of Fe3O4 and ZnO phases on the surface of the ZnO/Fe3O4 nanoparticles is confirmed by the appearance of peaks associated with iron and zinc. Also, the presence of an oxygen peak at around 530 eV is another proof of the iron oxide and zinc oxide phases’ formation (Dehghan et al., 2018; Erim et al., 2022).

Fig. 3
figure 3

XPS spectrum of ZnO/Fe3O4 nanoparticles and high-resolution spectrum related to iron and zinc

Optimization of parameters

The parameters were optimized using the BBD design method. The proposed models, which have p values less than 0.05, are linear and quadratic (Table 1). The quadratic model was used for optimization because it also considered the interaction of parameters. The data fit this model at a significance level of 95%. The experiment was designed to take place over a period of 2 days and 30 test repetitions, the values of which are displayed in Table 2 for each test run. As can be observed, the BBD method’s predicted values and the actual values are quite similar.

Table 1 Proposed models in BBD design method
Table 2 Runs of optimization experiments

To assess the adequacy of the quadratic model, ANOVA was used (Table 3). p values under 0.05 show that the model’s terms are significant. An F-value greater than 0.05, on the other hand, verifies the model’s significance. For the quadratic model, the p value is equal to 0.0012, and the F-value is equal to 5.70. As a result, the model shows a strong correlation between the actual and predicted values of diazinon removal and is significant at the 95% level.

Table 3 The results of analysis of variance (ANOVA)

In order to check the normality of the data, the normal plot residual diagram was used (Fig. 4a). The data are continuous and are plotted on a straight trend line, as can be seen (except for two points). This shows the suitability of the regression model for diazinon photocatalytic degradation. Consequently, the obtained experimental data did not exceed the residual variance (Salarian et al., 2016). On the other hand, the actual and predicted values are very similar, demonstrating the model’s suitability and a strong match, as shown by the predicted versus actual chart (Fig. 4c). The constant variance test was performed using the residual versus predicted graph (Fig. 4b), which also displays the data’s random distribution. As can be seen, the values are distributed randomly and are located between the two red lines. The residual versus run diagram was used to check the data’s trend (Fig. 4d). Additionally, this graph showed how random and time-independent the data is. The lack of a trend in this plot indicates that no latent variables were present at the time taken into account that would have affected the response during the experiment (Hu et al., 2021).

Fig. 4
figure 4

a Normal plot of residuals, b residual versus predicted plot, c predicted versus actual plot, d residual versus run plot

Investigating the effect of pH on photodegradation efficiency

One of the most important factors in the photocatalytic degradation of pollutants is pH, which influences the level of ionization, the charge on the surfaces of the pollutants and oxidants, the number of active species, and the hydrolysis of the pollutants (Mohagheghian et al., 2016). For this purpose, pH was investigated in the range of 3 to 11, and it was observed that the degradation efficiency increases with the increase of pH to 7 and then decreases (Fig. 5). The ZnO/Fe3O4 nanoparticles and diazinon had an excellent electrostatic connection, which is why pH 7 had the maximum degradation efficiency. During the investigation conducted at pHs between 6 and 8, nanoparticles had a positive charge. On the other hand, the pKa value of diazinon is 2.6, which has a negative charge at pH higher than 2.6 diazinon (Xu et al., 2021). The highest efficacy of photodegradation is therefore seen at pHs between 6 and 8, where electrostatic attraction is formed. The outcomes are in line with the research by Jonidi-Jafari et al. (2015).

Fig. 5
figure 5

Effect of pH on diazinon removal (a 2D diagram, b 3D diagram)

Investigating the effect of catalytic dose on photodegradation efficiency

As shown in Fig. 6, the efficiency of photodegradation increases with the amount of ZnO/Fe3O4, and the maximum amount of diazinon removal is at 1 g/L catalyst. This improvement in efficiency is carried about by an increase in the number of active sites, surface area, and amount of interaction between diazinon and the nanocatalyst. However, it should be noted that increasing the amount of nanocatalyst does not lead to a decrease in removal efficiency. Research has shown that using a lot of nanocatalyst causes turbidity and particle accumulation. This turbidity inhibits light, which decreases the photodegradation efficiency (Sayadi et al., 2022).

Fig. 6
figure 6

Effect of catalyst dose on diazinon removal (a 2D diagram, b 3D diagram)

Investigating the effect of diazinon dose on photodegradation efficiency

The efficacy of photocatalytic degradation was shown to decrease with an increase in diazinon, as shown in Fig. 7. This reduction is due to the occupation of the active sites of the nanoparticles by diazinon particles. The adsorption sites are reduced, and the efficiency of diazinon degradation declines because the number of active species, such as OH, remains unchanged (Chamanehpour et al., 2023). Additionally, as the initial materials become more concentrated, the intermediate products that are created compete with them for free radicals, slowing down the rate of degradation. Also, the internal filtering effect, which is caused by a rise in diazinon concentration, causes more UV radiation to be absorbed by the diazinon molecules. This action decreases the number of photons that reach the ZnO/Fe3O4 surface (Usman et al., 2017).

Fig. 7
figure 7

Effect of diazinon dose on diazinon removal (a 2D diagram, b 3D diagram)

Investigating the effect of light irradiation on photodegradation efficiency

In the photocatalytic degradation of contaminants, irradiation time is important. The photocatalytic degradation efficiency of diazinon was shown to increase with increasing time, as shown in Figs. 5, 6, and 7. Photocatalyst particles will have additional opportunities to participate in photocatalytic processes by increasing the irradiation time from 10 to 90 min (Molla et al., 2020).

Photocatalytic degradation of diazinon under optimal conditions

Finally, the best values for each parameter that maximized the value of diazinon photocatalytic degradation were determined. These values are shown in Table 4. According to the results of the BBD model, time values of 90 min, a nanoparticle concentration of 1 g/L, pH 7, and a diazinon concentration of 10 mg/L were selected as optimal reaction conditions under which the highest degradation efficiency will be observed. An experiment was carried out in the best possible conditions to verify that the models were satisfactory in predicting the maximal degradation of diazinon. Diazinon’s experimental degradation value was 99.3%, which is extremely similar to the amount the BBD model predicted. Also, the amount of photocatalytic degradation of diazinon in optimal conditions for ZnO and Fe3O4 nanoparticles alone was equal to 83.4 and 71.8%, respectively. The results are consistent with other studies. Salarian et al. (2016) found that diazinon’s photocatalytic degradation efficiency was 89.21% at optimal conditions of 45 min, 0.1 g/L nanoparticle concentration, and 10 mg/L diazinon concentration. In another study, diazinon poison was broken down by up to 93% in 2 h using a heterogeneous SnS2/Bi4Ti3O12 photocatalyst (Das et al., 2020).

Table 4 Optimum conditions for diazinon removal based on BBD model

Reuse experiment

The recyclability and durability of the nanoparticles are important parameters that are crucial in practical applications and determine the economy of the nanoparticles. Figure 8 depicts the outcomes of this investigation into the stability of the nanoparticles throughout the duration of five consecutive cycles. The desired nanoparticles were collected with a magnet and then cleaned with distilled water after each photocatalytic experiment. It was then used in a new photocatalytic degradation of diazinon after being dried at 60 °C for 2 h (Chamanehpour et al., 2022). The tests were carried out under optimal conditions of 90 min, 1 g/L nanoparticle concentration, pH 7, and 10 mg/L diazinon concentration. The outcomes demonstrated that the degrading performance decreased from 99.3 to 94.5% in the last stage of the recycling reaction. ZnO/Fe3O4 nanoparticles, therefore, have a high potential for reuse. This slight decrease can be due to diazinon occluding ZnO/Fe3O4 nanoparticle pores or side product formation, but overall, the produced nanoparticles show acceptable physicochemical stability.

Fig. 8
figure 8

Evaluating the efficiency of nanocomposites’ reuse activity

Degradation mechanism

The mechanism of diazinon toxin degradation by the ZnO/Fe3O4 catalyst is explained based on the photocatalytic process (Fig. 9). The catalyst is stimulated by photon radiation (hv), which causes the catalyst to create electron-hole pairs on its surface, which then causes the degradation of organic materials. After producing electrons and holes in the photocatalytic process, OH in the aqueous solution is absorbed by valence band holes to produce highly reactive free radicals. Afterward, these free radicals attack the diazinon molecules, which subsequently breakdown into simple products with no destructive effects (Elshypany et al., 2021).

Fig. 9
figure 9

Schematic diagram of diazinon degradation mechanism

An e is formed in the conduction band of ZnO and a h+ is formed in the valence band of Fe3O4 by applying ultraviolet radiation (hv) to the produced nanoparticles (Reaction 3). In fact, photons of light interact with the ZnO/Fe3O4 and transfer energy to the electrons of the catalyst. Then, e moves from CB in ZnO to CB in Fe3O4, creating a cavity in VB ZnO that may immediately interact with diazinon and cause its destruction (Reaction 4). Additionally, the created hole can react with water to create OH (Reaction 5). Diazinon can be destroyed by the hydroxyl radical created when the generated OH combines with h+ (Reactions 6 and 7). However, e can also combine with oxygen to form the \({}^{\circ}{\textrm{O}}_2^{-}\) radical, which has the ability to degrade diazinon (Reactions 8 and 9) (Hassan et al., 2017; Mohammadi et al., 2020). It should be noted that diazinon can break down into byproducts. One of these poisonous substances is known as diazoxon. Additionally, a number of oxygenated side products, including aldehydes, carboxylic acids, and ketones, as well as inorganic ions, like phosphate and ammonium, may be produced. But if complete oxidation takes place, it can be converted into carbon dioxide and water (Jonidi-Jafari et al., 2017).

$$\textrm{Catalyst}\ \left(\textrm{ZnO}/{\textrm{Fe}}_3{\textrm{O}}_4\right)+\textrm{hv}\to {\textrm{e}}_{\textrm{CB}\ \textrm{ZnO}}^{-}+{\textrm{h}}_{\textrm{VB}\ {\textrm{Fe}}_3{\textrm{O}}_4}^{+}$$
(3)
$${\textrm{h}}_{\textrm{VB}}^{+}+\textrm{diazinon}\to \textrm{degredation}\ \textrm{of}\ \textrm{diazinon}$$
(4)
$$H2O+h+\to H++ OH-$$
(5)

h +  + OH –  → HO°(6)

$$\textrm{HO}{}^{\circ}+\textrm{diazinon}\to \textrm{degredation}\ \textrm{of}\ \textrm{diazinon}$$
(7)
$${\textrm{e}}_{\textrm{CB}}^{-}+{\textrm{O}}_2\to {}^{\circ}{\textrm{O}}_2^{-}$$
(8)
$${}^{\circ}{\textrm{O}}_2^{-}+\textrm{diazinon}\to \textrm{degredation}\ \textrm{of}\ \textrm{diazinon}$$
(9)

Conclusion

For diazinon photocatalytic degradation, a ZnO/Fe3O4 nanoparticle was used in this study. ZnO and Fe3O4 nanoparticles are well nanoparticles and have a crystalline structure, according to structural analyses and surface morphology. Nanoparticles have an almost spherical and uniform shape, and the average particle size is 41 nm. The ZnO/Fe3O4 nanoparticles display superparamagnetic properties, according to VSM studies. According to the FT-IR data, the synthesized ZnO/Fe3O4 nanoparticle structure contains all functional groups linked to ZnO and Fe3O4, which can play a key role in pollutant absorption. Also, the XPS results determined the elemental chemical state of the synthesized photocatalyst and the oxidation state of transition metals. According to XPS, the nanoparticle structure contains elements of iron, zinc, carbon, and oxygen. The quadratic model was used for optimization because it also considered the interaction of parameters. The data fit this model at a significance level of 95%. Finally, the results of the photocatalytic experiments demonstrated that the conditions for the highest diazinon removal efficiency were pH 7, a diazinon concentration of 10 mg/L, a nanoparticle concentration of 1 g/L, and a contact time of 90 min. It was observed that with an increase in pH up to 7, the degradation efficiency increases and then decreases. Additionally, the removal efficiency increased with catalyst dosage and contact time, while it decreased with increasing the initial concentration of diazinon. The analyses showed that the photocatalyst’s recyclability could increase from 99.3 to 94.5% after 5 recycling cycles, demonstrating the stability and reusability of ZnO/Fe3O4 as a photocatalyst. Therefore, it can be said that the ZnO/Fe3O4 nanoparticles, by producing active free radicals, are able to degrade diazinon, and due to its excellent reusability, ease of separation, and excellent performance in removing diazinon from aqueous solutions, it can be a cost-effective and promising photocatalyst.