Introduction

In recent years, nanotechnology has become a highly versatile field, with nanoparticles (NPs) gaining attention for their unique characteristics and minimal harmful effects1,2,3. Magnetic NPs, particularly iron oxide (Fe3O4) NPs, are increasingly popular in bioengineering and biomedical applications for their ability to interact at the cellular and molecular level in both in vitro and in vivo settings4,5. These NPs are favored for their super-paramagnetic properties, biocompatibility, and crystalline structure. Fe3O4 NPs have a crystalline morphology with numerous edges, corners, and potentially reactive sites, making them promising as antibacterial agents6. NPs smaller than 100 nm have reliable physical and chemical properties, but to be used in bioengineering environments applications, they must be coated to ensure their safety and stability in biological environments7,8.

Chitosan is a biopolymer derived from the deacetylation of chitin9. It is a linear polysaccharide with three types of functional groups (amino, primary, and secondary hydroxyl groups) that can be used as a base for combining therapeutics, imaging agents, and targeting ligands10. Chitosan exhibits antimicrobial properties against a variety of microbes while being non-toxic to human cells11,12,13. The combination of chitosan and ferrous oxide into a nanocomposite enhances the material’s properties for dye removal14. The chitosan matrix provides a platform for the dispersion of ferrous oxide nanoparticles, which can act as a photocatalyst under sunlight irradiation15. The ferrous oxide nanoparticles (CFON) can absorb sunlight, particularly in the visible and near-infrared regions, and generate reactive oxygen species (ROS) such as hydroxyl radicals (OH) and superoxide anions (O2•−)16,17.

The CFON not only facilitates the photocatalytic degradation of the dye but also offers the advantage of magnetic separation, which simplifies the post-treatment process18,19. The magnetic properties of the ferrous oxide allow for easy recovery of the nanocomposite from the treated water using an external magnetic field, which is particularly useful for continuous or large-scale wastewater treatment systems20,21. However, several studies reported that pollutants, including pesticides, dyes, and heavy metal ions, damage water supplies, which is one of the biggest environmental issues facing the globe today22,23,24.

Because synthetic dyes are present, the increasing release of industrial effluents, especially from the production of paper, leather, and textiles threatens aquatic habitats25. These dyes, which frequently have vivid colors and intricate aromatic compounds, are unable to break down naturally, which causes pollution to remain and has negative effects on aquatic life26. AR73 is a widely used azo dye that is highly poisonous and can cause cancer and mutations, which are discrepancies in aquatic organisms’ development. The removal of AR73 from wastewater is crucial for environmental protection and water resource management. Several conventional treatment methods have been employed to address dye-laden wastewater, including coagulation-flocculation, membrane filtration, and biological treatments 27,28,29,30. However, these methods often suffer from limitations such as incomplete removal, high operational costs, and the generation of secondary sludge, necessitating the exploration of alternative, more sustainable approaches31.

Photocatalysis has emerged as a promising technology for dye removal due to its effectiveness, environmental friendliness, and cost-efficiency. Adsorption utilizes the surface properties of porous materials to bind dye molecules, effectively removing them from the water32. While, photocatalysis, on the other hand, employs light-activated catalysts to generate reactive species, such as hydroxyl radicals, which degrade dye molecules into less harmful compounds7. As a result, it is an appropriate method of treatment for eliminating dyes from aquatic medium.

Aquaculture effluent refers to the wastewater generated from aquaculture operations, this effluent contains various substances and pollutants that can impact water quality and the surrounding ecosystem if not properly managed33. High levels of nutrients in aquaculture effluent can become poisonous to plants and alter their protein synthesis, enzyme activities, photosynthesis, oxidative stress response, membrane permeability, and respiratory processes34,35. This aquaculture effluent is considered a global threat to aquatic ecosystems due to its influence on nearby waters and groundwater36. These parameters are crucial indicators of the effluent’s environmental impact and can affect the health of aquatic organisms and overall water quality. To treat aquaculture effluent, chitosan and Fe2O3 have been utilized as effective treatment methods. Chitosan, a biopolymer derived from chitin, has exceptional adsorption properties and can effectively remove suspended solids, organic matter, and nutrients from the effluent. It acts as a flocculant and coagulant, aiding in the formation of larger particles that can be easily separated from the water37.

Also, Fe2O3, known as ferrate, is a powerful oxidizing agent that can effectively degrade organic pollutants and remove nutrients from the water38. It can oxidize and break down various contaminants, including suspended solids, ammonia, and organic matter. Additionally, Fe2O3 has the advantage of being environmentally friendly, as it decomposes into non-toxic byproducts. When chitosan and Fe2O3 are combined in the treatment of aquaculture effluent, they can synergistically enhance the removal efficiency of pollutants. Chitosan can help in aggregating the suspended solids and organic matter, while Fe2O3 can oxidize and degrade them. This combined treatment approach can significantly improve water quality and minimize the environmental impact of aquaculture effluent, ensuring the sustainability of aquaculture operations and the protection of surrounding ecosystems39.

In recent years, chitosan-based nanocomposites have gained significant attention for wastewater treatment due to their biocompatibility, biodegradability, and high adsorption capacity40 Several studies have explored composites such as chitosan-TiO2, chitosan-ZnO41,42and chitosan-Fe3O4, which exhibit effective photocatalytic properties under UV light irradiation. However, these systems often depend on non-renewable energy sources (e.g., artificial UV lamps), limiting their practical applications in low-resource or rural settings as reported by Quy, et al.42. Moreover, many of these composites lack the ability to be easily separated and reused, a factor essential for large-scale or continuous treatment operations.

More recently, some researchers such as Arockiaraj et al.43 investigated chitosan-ferric oxide composites, demonstrating good adsorption capacity for dyes and heavy metals. Yet, the majority of these studies focus on either adsorption only, without integrating photocatalytic mechanisms, or on model/synthetic wastewater matrices rather than real-world effluents. Furthermore, only a limited number of works have addressed their performance under natural sunlight, which is critical for sustainable photocatalysis in environmental applications44. In contrast, the present study introduces a Chitosan/Ferrous Oxide Nanocomposite (CFON) that combines the advantages of both materials: the functional groups and adsorption capability of chitosan with the sunlight-responsive photocatalytic activity and magnetic recoverability of Fe2O3. This composite was tested not only against synthetic Acid Red 73 dye but also against real aquaculture effluent, demonstrating its efficiency in improving key water quality parameters such as TDS, EC, turbidity, and nitrate levels. To our knowledge, this is among the few studies to investigate the dual-functionality (adsorption and photocatalysis) of a chitosan-iron oxide composite under natural sunlight conditions and within a real wastewater treatment scenario, representing a practical and scalable approach toward eco-friendly water purification.

Therefore, this study aims to create a CFNO for use as an adsorption material to remove AR73 dye from water under sunlight exposure photocatalysis. Various parameters such as initial dye concentration, pH, contact time, column bed heights, temperature, and adsorbent dose were evaluated. The catalytic activity of the nanocomposite in degrading the dye under different light conditions was also examined. The potential of the nanocomposite for improving water quality in aquaculture applications was assessed. Changes in the physical, chemical, and morphological structure due to reaction were studied through zeta potential, Fourier Transform Infrared Spectroscopy (FTIR), Energy-Dispersive X-ray Spectroscopy (EDX), and Scanning Electron Microscopy (SEM) characterizations. Thermodynamic and kinetics studies were conducted, and various sorption isotherm models were used to analyze the adsorption mechanism. Moreover, the impact of CFNO on improving the water quality parameters of rearing aquaculture effluent was investigated.

Materials and methods

Adsorbent stock solution

The preparation of AR73 stock solution was prepared by dissolving one gram of AR73 powder in 1000 ml of water, to get the desired concentration of 1000 mg L- 1. The chemical structure of AR73 is C22H14N4Na2O7S2 (Supplementary Fig. 1).

Instruments

FTIR spectra of the powder sample were obtained using a Bruker IFS 66v/S spectrometer from Germany and an IR Affinity − 1 S-SHIMADZU spectrometer from Kyoto, Japan. Attenuated total reflection (ATR) was utilized for recording FTIR spectra, with 32 scans in the spectral range of 4000 − 400 1/cm and a resolution of 4 cm- 1. The composite material composed of adsorbent was further analyzed for shape and elemental content using SEM and EDX with the JEOL JSM-IT200 instrument at a magnification of x40,000. Zeta potential measurements were conducted with a HORIBA Scientific SZ-100 nanoparticle analyzer from the UK.

Experimental methods

Preparation of chitosan/ferrous oxide nanocomposite (CFON)

To prepare the CFON, 2 g of nano-chitosan was dissolved in 100 mL of a 2% acetic acid solution. Once the nano-chitosan was completely dissolved, 2 mL of distilled water was added and the mixture was shaken well for 2 h at 60 °C. Next, a 0.1 M solution of NaOH was added drop by drop until a slightly alkaline solution was achieved and then left to gel for 48 h. The resulting gel was washed with demineralized water until neutral. Subsequently, 50 mL of Fe2O3 solution was mixed and stirred at 60 °C for 60 min. Following this, 50 mL of chitosan solution was added to the mixture and continuously stirred at 60 °C for 2 h. The mixture was then slowly added to 2 mL of a 2.5% glutaraldehyde solution, which acted as the cross-linking agent and catalyst, and stirred for an additional 15 min. The hydrogel was dried overnight in an oven at 80 °C until all water content had evaporated, resulting in the final product45.

Adsorption experiments

The method used for the pH study was to maintain the initial pH values between 3 and 10 before adding the adsorbent to 50 mL of AR73 solution containing 40 mg of the CFON dose in conical flasks. For three hours at room temperature, each sample was agitated with a mechanical shaker while exposed to Ultraviolet (UV) light. Using a digital pH meter, the equilibrium pH was measured. To guarantee maximum adsorption, the initial pH value at which maximum adsorption occurred at equilibrium was changed for subsequent research.

A kinetic experiment46 was conducted to investigate the adsorption of AR73 onto the CFON. The initial concentration of AR73 was set at 60 mg L- 1 and the adsorbent dosage was 40 mg. Throughout the experiment, the pH was kept constant at pH 3, and different contact times varied from 15, 30, 45, 60, 120, and 180 min. After that, the mixture was shaken mechanically under UV-irradiation conditions at room temperature. After a predetermined amount of time, the sample from each flask was filtered, and the concentration of AR73 was measured. To find AR73’s adsorption capability at a specific time (t), calculations were done. Also, the pseudo-first-order (PFO), pseudo-second-order (PSO), and Interparticle diffusion kinetic models were fitted to the experimental data to have a better understanding of the adsorption mechanism.

To investigate the influence of CFON dosage on AR73 removals under UV-irradiation conditions and dark conditions. Prepare a 60 ppm AR73 solution using distilled water. Adjust the pH to 3. Then prepare a series of identical containers (beakers) with 50 mL of the dye solution each. Add different amounts of the nanocomposite to each container (20, 40, 60, 80, and 100 mg). Place half of the containers with varying nanocomposite dosages under the UV lamp and dark conditions at room temperature and 200 rpm. Ensure consistent distance and exposure for all samples. Place the other half of the containers in a dark chamber for 3 h to serve as the control group.

To compare the effect of initial dye concentration on removal by CFON under sunlight and dark conditions: Prepare a series of AR73 solutions with varying initial concentrations (25, 50, 75, 100, and 200 ppm) using distilled water. Adjust the pH of each solution to 3 using the pH buffer. Add a fixed amount (40 mg) of the CFON to a set of identical containers (e.g., beakers or flasks). Place half of the flasks with the dye solutions and CFON under direct sunlight for 3 h. Avoid shaking to maintain consistent light exposure. The other half of the containers in a dark chamber for 3 h to serve as the control group with shaking at 200 rpm.

To compare the batch and the fixed column, an experiment was added to investigate the effect of different bed heights of CFON, on the removal of AR73 dye has been investigated using a fixed bed column setup. The experiment was performed under varying bed heights of columns: 1 cm, 1.5 cm, 2 cm, and 2.5 cm, while maintaining initial dye concentration (50 mg L- 1), time (3 h), temperature of 30 °C, and pH constant (pH 5). After the exposure period, separate the adsorbent from the dye solutions using filtration or centrifugation. Analyze the dye concentration in the treated solutions using a UV-Vis spectrophotometer. Then calculate the percentage removal and adsorption capacity (qe) for each dye concentration under both sunlight and dark conditions. The concentration of AR73 dye was measured using spectrophotometry λ max = 510 nm. The percentage removal and adsorption capacities (qe) were estimated using Eqs. (1,2):

$$\:\text{A}\text{R}73\:\text{R}\text{e}\text{m}\text{o}\text{v}\text{a}\text{l}\:\left(\text{\%}\right)\:=\:\frac{(Ci\:\--\:Cf)}{\:Ci}\times 100$$
(1)
$$\:\text{q}\text{e}\:=\:\frac{(Ci\:\--\:Cf)\:\times\:\:\text{V}}{\text{W}}$$
(2)

where: the concentration is represented by the symbols Ci and Cf are the liquid-phase concentrations of AR73 dye in mg L- 1 at initial and equilibrium, respectively. In contrast, qe is the maximal adsorption at monolayer (mg g- 1). The mass of the adsorbent is (W) with gram and the volume of the solution is V (L).

Aquaculture effluents wastewater treatment

Correspondingly, the impacts of CFON on water quality parameters of aquaculture effluent were assessed. A real aquaculture effluent sample was collected from a private fish farm in Alexandria, Egypt (31° 12′ 30.07″ N, 29° 58′ 41.66″ E), where Nile tilapia (Oreochromis niloticus) is cultivated. The water quality parameters were analyzed before and after CFON treatment. The following methodologies were employed: Dissolved Oxygen (DO), Electrical Conductivity (EC), Total Dissolved Solids (TDS), and Turbidity were measured using a Multiparameter system (HI9829 digital pro). Nitrate (NO3⁻) concentrations were determined according to standard methods47 and the values after treatment with CFON compared to the same values before treatment. pH variations were monitored to assess potential shifts due to chitosan alkalinity. For ammonia removal assessment, additional ammonia was introduced to the effluent sample to reach a concentration of 10 mg L− 1. The treated water was subsequently filtered to remove suspended particulates and precipitates. A control experiment using deionized water with an equivalent ammonia concentration was conducted to evaluate the adsorption efficiency of CFON under identical conditions. CFON was synthesized and applied as an adsorbent for water quality improvement. The CFON was introduced into the aquaculture effluent under controlled conditions to evaluate its efficacy in contaminant removal. The treatment was conducted at an optimal pH of 8.0, with a contact time of 120 min and an adsorbent dosage of 0.1 g 100 mL− 1 of wastewater. The impact of CFON treatment was assessed based on the percentage reduction of key water quality parameters. Given the relatively low initial ammonia concentration in the effluent sample, a controlled amount of ammonia solution was introduced to achieve a final concentration of 10 mg L− 1, ensuring a more precise assessment of the adsorbent’s removal capacity. Following the adsorption process, the treated effluent was subjected to filtration to eliminate precipitates and suspended particles, thereby enhancing water clarity and purity. A control experiment was simultaneously conducted using deionized water with an equivalent ammonia concentration to distinguish between adsorption efficiency and potential background interferences.

Results and discussion

Characterization of adsorbent nanocomposite

Supplementary Fig. 2 shows the characterization of CFON adsorbent. Zeta potential (ζ) is a measure of the electrostatic potential difference between a colloid (nanocomposite particle) and the surrounding dispersing medium (aqueous solution). The data presented in Supplementary Fig. 2A provides valuable information on the surface charge characteristics of the CFON and its potential interaction with AR73 dye. The result displays an average zeta potential of 28.8 mV, indicating a moderately positive surface charge on the chitosan/ferrous oxide nanocomposite. This positivity is attributed to the presence of protonated amino groups (NH3+) in chitosan under slightly acidic or neutral pH conditions48. Peak 1 represents the majority of nanoparticles with a zeta potential of 28.9 mV, consistent with the average value. The high peak area (99.8%) suggests that most particles possess this positive surface charge. Peak 2, with a value of -6.36 mV and a small area (0.2%), indicates a minor population of negatively charged particles, possibly due to variations in surface composition or iron oxide distribution. Peak 3 at 0 mV signifies a negligible population of electrically neutral particles. As AR73 is an anionic dye, carrying a negative charge, the positive surface charge of the CFON can attract the dye molecules, enhancing the adsorption process and facilitating the removal of the dye from the aqueous solution. The moderately positive zeta potential of the CFON suggests favorable electrostatic interactions for AR73 adsorption, supported by the dominant population of positively charged particles (Peak 1)49. However, the presence of a minor negatively charged population (Peak 2) indicates a potential for the repulsion of dye molecules. Further investigation could investigate the impact of pH on zeta potential, as chitosan’s surface charge may vary with the acidity or alkalinity of the solution, potentially affecting the efficiency of AR73 dye adsorption.

FTIR spectroscopy serves as an indispensable tool in analytical chemistry, facilitating the identification of functional groups within molecules through the absorption of infrared radiation at varying wavelengths. The FTIR analysis of the CFON utilized for AR73 adsorption is depicted in Supplementary Tables 1 and Supplementary Fig. 2B. The broad absorption peak at 3419.476 cm- 1, attributed to the O-H -NH stretch, signifies the presence of hydroxyl and amine groups, likely originating from the polysaccharide structure of chitosan and potentially adsorbed water molecules. These hydroxyl groups play a pivotal role in facilitating hydrogen bonding with dye molecules, thus influencing the adsorption process significantly. Also, this band underscores their significance in facilitating hydrogen bonding interactions with dye molecules. Hydrogen bonding is a fundamental phenomenon in adsorption processes, wherein the attractive forces between polar functional groups on the adsorbent surface and the dye molecules play a crucial role in the adsorption mechanism.

The appearance of a peak at 2076.421 cm−1 suggests the presence of carbonyl groups (C = O stretch), possibly arising from aldehydes or ketones. The impact of these groups on dye adsorption hinges upon the specific functional groups present in the AR73 molecule, potentially involving dipole-dipole interactions or hydrogen bonding with the dye. Additionally, the detection of carbon-carbon double bonds (C = C stretch) at 1637.312 cm−1 implies their existence in aromatic rings or alkenes within the chitosan structure. These double bonds can engage in pi-pi interactions with the aromatic rings commonly found in dye molecules, thereby augmenting adsorption. In addition, the presence of amine groups (C-N stretch) is indicated by a peak at 1399.741 cm−1, suggesting potential interactions with specific functional groups within the AR73 dye molecule, such as carboxylic acid or sulfonic acid groups, through electrostatic interactions or hydrogen bonding.

Moreover, the presence of C-O bonds, likely originating from alcohol or ether groups in the chitosan structure, is indicated by a peak at 1104.428 cm−1. Analogous to the O-H stretch, these groups can engage in hydrogen bonding with dye molecules. The detection of the Fe-O bond at 642.691 cm−1 confirms the presence of iron oxide in the nanocomposite. Although not directly involved in dye binding, the Fe-O bond contributes to the nanocomposite’s surface properties, influencing its surface charge, porosity, and ultimately, its adsorption capacity. Also, the characteristic peaks observed at approximately 410 to 565 cm−1 correspond to octahedral-metal stretching (Fe2O3). The FTIR analysis indicates the presence of a substantial amount of phenolic acids, carboxylic acids, and amines. The detection of free hydroxyl groups (–OH), phenolic (–CHOH) carboxylic (–COOH) acids, and other functional groups such as amine (–NH2), may be attributed to the chitosan polymer.

While, the data gathered from SEM analysis in Supplementary Fig. 1C can be utilized to enhance the production process of CFON and customize their characteristics for specific uses, like removing AR73 dyes from water solutions. SEM analysis is a commonly used method for examining nanomaterials and nanostructures due to its ability to provide detailed images of a sample’s surface features, composition, and size. The SEM image indicates that the nanocomposite has an irregular surface morphology, with particles appearing clustered or dispersed. The particle size in the nanocomposite ranges from 13.07 nm to 19.88 nm, falling within the nanoparticle size range. This rough surface morphology may be advantageous for applications requiring a large surface area, such as adsorption. EDX is a technique that combines with SEM to analyze the elemental composition of a sample. When an electron beam interacts with the sample, it causes the atoms to emit X-rays with specific energies. By studying the energy and intensity of these X-rays, the elements present in the sample can be identified. EDX provides information about the elements and their relative abundance in a specific area of the sample. Supplementary Tables 2 and Supplementary Fig. 2D display the elemental composition of the CFON obtained through EDX analysis.

The highest mass percentage (39.78%) is carbon, which is expected due to the carbon-rich nature of chitosan. Oxygen accounts for the second highest percentage (43.49%), found in both chitosan and ferrous oxide (FeO). The presence of chlorine (10.15%) may be attributed to chloride salts used in the synthesis process. The detection of iron (0.46%) confirms the presence of ferrous oxide nanoparticles in the chitosan matrix, although the low iron content suggests a lower concentration compared to chitosan. The significant presence of carbon, nitrogen, and oxygen indicates the successful integration of chitosan into the nanocomposite. The relatively low iron content implies a higher ratio of chitosan to ferrous oxide. The diverse elements on the surface create a complex chemical environment, potentially beneficial for dye adsorption by providing multiple interaction sites for dye molecules.

Adsorption experiments

pH

Figure 1 shows the influence of pH on AR73 removal efficiency by the CFON. The data demonstrates that the removal efficiency of AR73 dye by the CFON adsorbent is generally high across a wide pH range (3–10), with removal percentages exceeding 86% in all cases (Fig. 1). However, there are some fluctuations observed within this range. The highest removal percentage (99.05%) occurs at pH 5, while the lowest (86.34%) is observed at pH 8. The peak removal efficiency at pH 5 suggests an optimal electrostatic interaction between the adsorbent and the dye molecules at this specific pH.

Fig. 1
figure 1

Influence of pH on removal of AR73 by the CFON.

This could be due to a favorable combination of surface charge on the adsorbent and ionization state of the dye, leading to strong attraction. Whereas, the decreased removal efficiency at pH 8 could indicate less favorable electrostatic interactions or changes in the adsorbent’s surface properties at this pH, reducing its affinity for the dye molecules50. The adsorbent’s effectiveness across a broad pH spectrum is a significant advantage, indicating its potential applicability in diverse wastewater treatment scenarios where pH control might be challenging. The observed fluctuations in removal efficiency suggest that pH influences the adsorption process. This is likely due to the impact of pH on both the surface charge of the adsorbent and the ionization state of the dye molecules51. The CFON likely has pH-dependent surface charge properties. Zeta potential analysis and changes in pH can alter the protonation/deprotonation of functional groups on the adsorbent surface, thereby affecting the electrostatic interactions between the adsorbent and the dye molecules52.

Contact time

Figure 2 shows the effect of contact time on AR73 removal efficiency by CFON. In the adsorption process, the contact time between the adsorbent and the dye solution plays a crucial role in determining the removal efficiency. It influences the rate at which dye molecules interact with the adsorbent surface and reach equilibrium. Understanding the effect of contact time is essential for optimizing the treatment process and ensuring efficient dye removal (Fig. 2). The data demonstrates a clear trend: as the contact time increases, the percentage removal of AR73 dye and the adsorption capacity (qt) both increase. This indicates that longer contact times allow for more dye molecules to interact with the adsorbent surface and undergo photocatalytic degradation. The removal rate is initially rapid, with a significant increase in percentage removal and qt within the first 60 min53. This suggests that a large number of readily accessible adsorption sites are available on the adsorbent surface, facilitating fast dye uptake and degradation54. While, as the contact time extends beyond 60 min, the rate of removal gradually slows down as the adsorption sites become increasingly occupied and the concentration of dye molecules in the solution decreases. At 180 min, a near-complete removal of the dye (99.3%) is achieved, indicating that the system approaches equilibrium, where the rate of adsorption and degradation balances the rate of desorption. Peng et al. suggest that the adsorption process is primarily influenced by the porous structure of adsorbents, resulting in a slow diffusion of adsorbates through the pores55. The photocatalytic degradation of AR 73 dye using Chitosan-iron oxide hybrid composite under UV light likely involves a combination of adsorption and photodegradation processes.

Fig. 2
figure 2

Effect of contact time of AR 73 dye removal efficiency by CFON.

Suggested possible mechanism by: the dye molecules are initially adsorbed onto the surface of the chitosan-iron oxide composite through various mechanisms, as previously discussed (electrostatic attraction, hydrogen bonding, Van der Waals forces). The iron oxide component of the composite absorbs UV light, exciting electrons from the valence band to the conduction band and creating electron-hole pairs. The excited electrons and holes migrate to the surface of the composite. The holes can react with water molecules or hydroxyl ions to generate highly reactive hydroxyl radicals (OH). Also, the hydroxyl radicals attack the adsorbed dye molecules, breaking them down into smaller, less harmful compounds through oxidation reactions7. Finally, the contact time between the Chitosan-iron oxide hybrid composite and the AR73 dye solution significantly impacts the photocatalytic degradation process. Longer contact times lead to higher removal percentages and adsorption capacities, allowing for near-complete dye removal as the system approaches equilibrium.

Adsorbent dosage

The provided data for a comparison of AR73 dye removal efficiency by CFON under UV light exposure and in dark conditions is presented in Fig. 3. The data clearly shows that exposure to UV light significantly enhances the percentage removal of AR73 compared to dark conditions specialty at higher dosages at 80 and 100 mg. This confirms the photocatalytic activity of the Chitosan/ferrous oxide nanocomposite, where UV light plays a crucial role in generating reactive species that degrade the dye molecules. Interestingly, the adsorption capacity (qe) under dark conditions is higher at lower adsorbent doses (93 mg g- 1) compared to UV conditions56. However, as the dose increases, the qe values in dark conditions decrease significantly, while they remain relatively stable under UV conditions. As explained earlier, UV light excites the iron oxide component of the composite, leading to the generation of hydroxyl radicals that degrade the dye molecules. This process significantly enhances the overall dye removal efficiency under UV light compared to dark conditions57.

Fig. 3
figure 3

Effect of adsorbent dosage on AR73 removal efficiency under UV light and dark conditions.

In the absence of UV light, dye removal occurs primarily through adsorption processes. The higher qe values at lower doses in dark conditions suggest that the available adsorption sites are more effectively utilized when the dye molecule concentration is relatively high compared to the available sites. As the adsorbent dose increases, the number of available adsorption sites becomes much larger than the number of dye molecules in the solution. This leads to a lower utilization of the available sites, resulting in a decrease in qe values under dark conditions. Under UV conditions, however, the continuous degradation of dye molecules by the generated radicals allows for sustained adsorption and higher qe values even at higher adsorbent doses58. The latter could promote dye sorption and boost the production of radicals, which could raise the efficiency of degradation. Many parameters, including surface morphology, bandgaps, sizes, crystallinity, shape, and concentration, affect a nanocatalyst photocatalytic activity59.

Initial AR73 concentration

Figure 4 shows the effect of the initial AR73 dye concentration on its removal by a CFON under sunlight and dark conditions. The data reveals an interesting trend in the removal of AR 73 dye by the CFON as the initial dye concentration increases. While the percentage removal initially increases with increasing dye concentration up to 75 mg L- 1 (reaching 98.319%), it then slightly decreases as the concentration continues to rise to 200 mg L- 1. In contrast, the adsorption capacity (qe) exhibits a continuous increase with rising initial dye concentration, reaching a maximum of 234.03 mg g- 1 at 200 mg L- 1.

Fig. 4
figure 4

Effect of initial AR73 concentration on AR73 removal efficiency under sunlight and dark conditions (A) adsorption capacity (mg g- 1) and (B) percentage removal %.

Sunlight exposure significantly enhances dye removal compared to dark conditions, especially at higher initial concentrations (100 and 200 mg L- 1). This suggests a photocatalytic degradation mechanism where sunlight activates the nanocomposite, promoting dye breakdown60. In both conditions, the removal efficiency initially increases with increasing dye concentration, reaching a peak, and then slightly declining or plateauing54. This behavior can be attributed to the availability of active sites on the nanocomposite. At low concentrations, sufficient sites are available for dye adsorption and degradation. However, as the concentration rises, the sites become saturated, leading to a decrease in removal efficiency61. The choice between sunlight and dark conditions depends on the specific application and available resources. While sunlight offers a sustainable and cost-effective approach, achieving consistent results might be challenging due to weather fluctuations. Dark conditions with artificial UV light sources provide more control but require energy input56. Chitosan, with its amino and hydroxyl functional groups, provides active sites for dye adsorption through electrostatic interactions and hydrogen bonding45. In addition, ferrous oxide, under sunlight, generates electron-hole pairs. These reactive species interact with water molecules to produce hydroxyl radicals, which are potent oxidizing agents capable of breaking down the dye molecules into smaller, less harmful compounds. Xiao, et al.62 reported that the general idea behind semiconductor nanomaterials-based photocatalysis is the degradation of organic dye molecules that are derived from ROS, such as superoxide (-O2) and hydroxyl (–OH). These radicals are created when photogenerated electron holes react with dissolved oxygen (O2) in water, and they function as strong, nonselective oxidants to break down dye pollutants into CO2 and H2O.

Different column bed heights of a nanocatalyst

The effect of different bed heights of a nanocatalyst, specifically Chitosan/Ferrous Oxide Nanocomposite, on the removal of AR73 dye has been investigated using a fixed bed column setup. Figure 5 presents the percentage removal of the dye under varying bed heights: 1 cm, 1.5 cm, 2 cm, and 2.5 cm while maintaining the initial dye concentration, temperature, and pH constant.

Fig. 5
figure 5

Removal percentages (%) of AR73 dye at different heights of bed using CFON in a fixed bed column setup (the initial dye concentration of 50 mg L- 1 and a pH of 5).

In the experiment, it is observed that the percentage removal of AR73 dye varies with different bed heights. The results showed that at a bed height of 1 cm, the percentage removal is measured at 28.992%. This relatively lower removal efficiency might be attributed to the limited surface area available for adsorption within the smaller bed height. Thus, the contact between the dye molecules and the adsorbent might not be optimal, leading to lower removal rates63. As the bed height increases to 1.5 cm, a significant improvement in the removal efficiency is observed, with a percentage removal of 40.476%. This suggests that increasing the bed height provides additional surface area for adsorption, allowing more dye molecules to come into contact with the adsorbent64. As a result, the adsorption capacity is enhanced, leading to higher removal efficiency. However, at a bed height of 2 cm, there is a slight decrease in the percentage removal to 31.653%. This could be due to factors such as channeling or uneven distribution of flow within the column at this particular bed height, which may reduce the effective contact between the dye molecules and the adsorbent. While, at a higher bed height of 2.5 cm, the removal efficiency increases again to 35.294%. This suggests that despite the slight decrease observed at 2 cm, further increasing the bed height still provides additional surface area for adsorption, leading to improved removal efficiency. The observed tendency in the experiment is consistent with the adsorption mechanism and previous studies. Increasing the bed height indeed provides extra surface area for the adsorption process, allowing more dye molecules to be adsorbed onto the CFON. Additionally, the increased bed height results in a longer contact time between the dye molecules and the adsorbent, further enhancing the removal efficiency65.

Photocatalytic activity and AR73 removal mechanism

The photocatalytic activity of a nanocatalyst, such as CFON, in the degradation of AR73 dye can be significantly influenced by different light irradiation conditions. Figure 6 presents the percentage removal of the dye under various light conditions such as dark, UV light, room temperature light, and sunlight. In dark conditions, where light is absent, the photocatalytic activity is minimal, resulting in only 12.605% removal of the dye.

Fig. 6
figure 6

Removal percentages (%) of AR73 under various light irradiation conditions (dark, UV, lead lamps, and sunlight) using CFON (at a dosage of 10 mg/mL, AR73 concentration of 25 mgL- 1, and pH 3 without shaking for 180 min).

This indicates that light is essential for initiating the photocatalytic degradation process. Under UV light irradiation, there is a slight improvement in the degradation efficiency compared to dark conditions, with a removal rate of 22.829%. UV light provides the necessary energy to activate the nanocatalyst, thereby enhancing its photocatalytic activity66. However, the efficiency is still relatively low compared to other light sources. While, room temperature light, such as that from a lead lamp, leads to a further increase in the degradation efficiency, with a removal rate of 28.852%. This suggests that visible light plays a significant role in promoting the photocatalytic degradation process compared to UV light, likely due to its higher energy and broader wavelength spectrum. The most significant improvement in dye removal is observed under sunlight irradiation, where a removal rate of 42.437% is achieved. The visible light in sunlight, which is part of a wide spectrum, effectively activates the nanocatalyst and encourages the dye molecules to break down66. Additionally, sunlight provides a higher intensity of light compared to artificial light sources, further enhancing the photocatalytic activity. Some factors that can change how well the nanocatalyst works include: brighter light can make the nanocatalyst work faster, and sunlight can make more types of nanocatalyst work better67. Also, using more nanocatalyst can make the dye disappear faster. But if we use too much, it won’t work as well. The type of liquid we use can also change how well the nanocatalyst works, depending on whether it’s more acidic or basic. The role of sunlight in photocatalysis for AR73 removal is diverse: Sunlight is essential for providing the energy needed to activate the photocatalyst process. When the photocatalyst absorbs photons from sunlight, it creates electron-hole pairs. Sunlight’s wide spectrum, which includes UV and visible light, allows for the targeted activation of photocatalysts with varying bandgap energies. This is crucial for developing visible-light-responsive photocatalysts that can broaden the scope of photocatalysis beyond UV light limitations. By using sunlight as the primary energy source for photocatalysis, it adheres to green chemistry principles by eliminating the need for additional energy input and reducing the environmental impact associated with traditional wastewater treatment methods. Sunlight is a readily available, renewable resource that is cost-effective for large-scale applications, particularly in regions with ample sunlight. This makes sunlight photocatalysis a financially feasible option68.

Upon exposure to sunlight, the Fe2O3 nanoparticles embedded in the CFON matrix act as semiconductors with a relatively narrow bandgap (~ 2.1 eV), which allows them to absorb visible light69. The absorbed photons excite electrons (e⁻) from the valence band (VB) to the conduction band (CB), leaving behind positively charged holes (h⁺) in the VB. These photogenerated charge carriers play a central role in generating reactive oxygen species (ROS) via the following reactions69:

$$\begin{gathered} - {{\text{h}}^+}+{{\text{H}}_2}{\text{O}} \to \,{\,^ \cdot }{\text{OH}}+{{\text{H}}^+} \hfill \\ - {{\text{h}}^+}+{\text{O}}{{\text{H}}^ - } \to \,{\,^ \cdot }{\text{OH}} \hfill \\ - {{\text{e}}^ - }+{{\text{O}}_2} \to {\text{O}}_{2}^{{ \cdot - }} \hfill \\ \end{gathered}$$

These ROS particularly hydroxyl radicals (•OH) are highly reactive and non-selective, and they oxidize the dye molecules by attacking their aromatic rings, azo bonds (-N = N-), and sulfonic groups, eventually breaking them down into intermediate compounds and ultimately mineralizing them into CO2, H2O, and inorganic ions. The combined action of adsorption (by chitosan) and ROS-induced oxidation (by Fe2O3 under sunlight) provides a dual degradation pathway for AR73 dye removal, enhancing overall treatment efficiency. This synergy is especially effective under natural sunlight, which offers a broad wavelength spectrum to trigger ROS formation efficiently. The enhanced removal under sunlight, compared to dark or UV-only conditions, strongly supports the proposed ROS-driven mechanism.

Impact of temperature on AR73 removal and thermodynamic parameters

The data in Fig. 7 indicates that the removal efficiency of AR73 dye by the CFON decreases with increasing temperature. This behavior suggests an exothermic nature of the adsorption process, meaning the adsorption is favored at lower temperatures. As the temperature increases, the kinetic energy of both the dye molecules and the adsorbent material increases. This leads to increased mobility of dye molecules, then higher kinetic energy allows dye molecules to move more freely, reducing the likelihood of them interacting with and being adsorbed onto the nanocomposite surface. The thermodynamic parameters in Supplementary Table 3 showed the positive value of enthalpy change (∆H°) (56.99 kJ mol- 1) confirming the exothermic nature of the adsorption process. This means the adsorption process releases heat, making lower temperatures more favorable. The negative value of entropy change (∆S°) (-0.154 J mol- 1 K- 1) suggests a decrease in randomness at the solid/liquid interface during adsorption. This could be due to the ordered arrangement of dye molecules on the adsorbent surface70. The negative values of Gibbs free energy change (∆G° < -10 kJ mol- 1) indicate that the adsorption process is spontaneous at all temperatures investigated. This means the adsorption process is thermodynamically favorable. The constant value of ∆Go across the temperature range suggests that the driving force for adsorption remains consistent despite the changing temperature71. The negative value of ∆Go (< -10 kJ mol- 1) suggests that the dominant mechanism is physical adsorption, involving weak forces of attraction like van der Waals forces, hydrogen bonding, and electrostatic interactions. This mechanism is further supported by the positive ∆H° value, indicating that the adsorption process is driven by the release of heat72.

Fig. 7
figure 7

Effect of temperature (°C) on AR73 dye onto a CFON.

Analysis of sorption isotherms for AR73 dye removal

The adsorption behavior of AR73 onto a CFON was investigated by using three isotherm models: Freundlich73Langmuir74and Harkins-Jura75. The equations can be found in the Supplementary Table 4. The data from the adsorption experiments were fitted to the linear forms of these models, and the resulting parameters are presented in Table 1. The Freundlich model describes multilayer adsorption on heterogeneous surfaces. The values of 1/n (2.208) indicate favorable adsorption in conditions. A higher value in darkness suggests a more heterogeneous surface and potentially a wider distribution of adsorption energies76.

Table 1 Isotherm parameters of isotherm models for AR73 dye by CFON.

Additionally, the value of the factor “1/n” in this study is greater than 1, indicating that using this isotherm equation to describe the chemical sorption mechanism on an external surface is preferable. Values of n > 1 for dye particles indicate a heterogeneous nature of sorption and positive binding77. Chemisorption includes ion exchange, chelation, and complexation, while physisorption involves electrostatic interactions and van der Waals forces. Despite the higher Kf value (64.41), it is significantly higher in sunlight, indicating better adsorption efficiency under sunlight. The good fit of the Freundlich model (R2 = 0.897 in sunlight) suggests that it adequately describes the adsorption process and its heterogeneous nature (Supplementary Fig. 3). However, the Langmuir model assumes monolayer adsorption on a homogeneous surface. The data indicates a higher maximum adsorption capacity of 322.58 mg g- 1 (Supplementary Fig. 4). This capacity is higher in dark conditions, suggesting that the adsorbent may have a stronger affinity for the dye in the absence of sunlight. The higher Ka value suggests a stronger affinity between AR73 and the nanocomposite. However, the lower R2 value of 0.461 for the Langmuir model compared to the Freundlich model indicates that it may not be the best fit for describing the adsorption process in this case. The Harkins-Jura model shows the poorest fit among the three models, with an R2 value of 0.349, indicating that it is not suitable for representing the adsorption process in this study (Supplementary Fig. 5). Table 1 displays A and B parameters, which are constants related to multilayer adsorption and the heat of adsorption, respectively. Both parameters are higher suggesting an enhanced adsorption capacity and energy. In this study, the Freundlich model demonstrates stronger correlation coefficients, indicating a better fit to the data compared to the Langmuir model. The Freundlich isotherm is found to be the most suitable for accurately describing the sorption equilibrium between AR73 dye and CFON nanoparticles with varying surface energies, confirming the heterogeneous nature of the adsorption process. The differences in parameters observed between light and dark conditions suggest that light may impact the adsorption process. The higher adsorption capacity and more heterogeneous surface observed in sunlight could be attributed to photocatalytic effects or light-induced changes in the adsorbent surface or dye molecules. Sunlight generally enhances adsorption capacity and intensity according to the Freundlich model. Previous studies have indicated that light can influence AR73 dye adsorption by promoting photocatalytic degradation or altering the surface properties of the adsorbent.

Kinetic modeling of the adsorption process for AR73 dye removal

This study investigates the adsorption process of AR73 solution using chitosan/ferrous oxide nanocomposite. Kinetic models are employed to understand the rate of this reaction. Supplementary Table 5 summarizes the results obtained from fitting the experimental data to each kinetic model. The first-order model provides a simple approach for initial adsorption stages but might not capture the entire process. This model assumes the rate of adsorption is proportional to the concentration of the remaining dye molecules78. It describes a single-site adsorption process. The calculated qe value (19.81 mg g- 1) deviates significantly from the experimental value, indicating a poor fit. The correlation coefficient (R2) of 0.897 suggests a moderate correlation, but not ideal for accurate representation (Fig. 8A). Pseudo-second-order model considers the rate of adsorption to be dependent on both the concentration of the dye and the available adsorption sites. It’s often applied when the chemisorption process dominates. The calculated qe (51.81 mg g- 1) shows a much closer match to the experimental value, implying a good fit. The R2 value of 0.999 indicates a strong positive correlation, suggesting the model effectively describes the adsorption process (Fig. 8B)79. The intraparticle diffusion model (Fig. 8C) focuses on the diffusion of dye molecules within the pores of the adsorbent material. It helps assess the contribution of diffusion to the overall rate-limiting step. It evaluates the role of diffusion within the adsorbent pores, but might not be the sole rate-limiting step. The R2 value of 0.76 signifies a weaker correlation compared to the second-order model. The constant Kdif (2.188) reflects the rate of intraparticle diffusion, but its importance might be limited in this case.

Fig. 8
figure 8

First-order- kinetic model (A), second-order kinetic model (B), and interparticle diffusion kinetic model (C) for AR73 dye onto.

This deviation may be attributed to the difference in mass transfer rates between the initial and concluding phases of adsorption80. It’s crucial to consult relevant research articles for a more comprehensive comparison. However, studies suggest that the pseudo-second-order model is often preferred for dye adsorption processes due to its ability to account for chemisorption and better represent the overall rate-limiting step. The values of constants (k1, k2, and Kdif) depend on various factors like initial dye concentration, adsorbent dosage, and solution temperature. An increase in these constants could indicate a faster adsorption rate, while a decrease suggests a slower rate. Based on the results presented, the pseudo-second-order model appears to be the most suitable for describing the dye adsorption process. The high R2 value (0.999) indicates a strong correlation between the model and the experimental data. The calculated qe value also closely matches the experimental value, suggesting good agreement.

Aquaculture water quality improvement

Table 2 shows the impact of CFON on water quality parameters of aquaculture effluent. The results reveal a positive influence of CFON on DO, EC, TDS, turbidity, and NO3 values after treatment with CFON, compared to the same values before treatment. The results showed a slight increase in pH (from 7.34 to 7.46), which might be attributed to the weak alkalinity of chitosan, a component of CFON. This minor shift is unlikely to pose a significant concern for most water applications81. A slight decrease in DO (4.46 to 4.42 mg L- 1) could be due to the adsorption of organic matter or oxygen consumption during potential Fenton-like reactions involving ferrous oxide nanoparticles82. Significant reductions in EC (from 162 to 90 µS cm- 1) and TDS (from 95 to 51 mg L- 1) were reported, indicating the effectiveness of CFON in removing ionic contaminants. This result aligns with the specific adsorption properties of chitosan for various inorganic pollutants such as dyes and heavy metals83,84,85. The bioremediation of nitrogen sources from aquaculture effluents is a global concern86. In the current study, nitrate reduction (NO3) (from 366.92 µg L- 1 to 267.64 µg L- 1) suggests potential adsorption or biodegradation processes facilitated by CFON. A notable decrease in turbidity (from 1220 NTU to 1043 NTU) signifies CFON’s ability to aggregate and remove suspended particles. This could be due to electrostatic interactions between the charged surfaces of CFON and the particles, or bridging mechanisms involving the chitosan component. This finding was previously reported by several studies suggesting that CFON may remove the dissolved salts87,88,89.

Table 2 Influence of CFON treatment on several water quality parameters.

Chitosan has shown promise in nitrate removal through adsorption and ion exchange. Additionally, the nanocomposite might create microenvironments suitable for denitrifying bacteria to flourish and contribute to biological nitrate reduction. The synergistic action of chitosan and ferrous oxide in CFON contributes to its water treatment efficacy, chitosan offers abundant functional groups for electrostatic adsorption of ionic contaminants and complexation with organic pollutants90. Its porous structure facilitates physical adsorption as well. While ferrous oxide provides additional adsorption sites for specific pollutants and potentially initiates Fenton-like reactions for the degradation of organic matter91.

Comparative study of acid red 73 adsorption capacities

Supplementary Table 6 presents a comparative analysis of different adsorbents utilized for the removal of Acid Red 73 dye from wastewater. The range of materials reviewed reflects various adsorption strategies, from natural biomass to advanced nanocomposites.

Bio-based adsorbents such as chitosan, rice wine lees, and acid-treated water hyacinth stems offer environmentally friendly and cost-effective options. However, these materials generally exhibit moderate adsorption capacities—18.74 mg/g for rice wine lees and 50 mg/g for acid-treated water hyacinth stems92,93. Nanoparticles, including Fe3O4 and chitosan-based nanomaterials, have been explored for their high surface area and reactivity. Yet, their adsorption performances remain limited, with Fe3O4 nanoparticles achieving 40.1 mg/g and chitosan nanoparticles only 1.25 mg/g80,94possibly due to challenges in synthesis, dispersion, or surface functionalization.

Engineered hydrogels, such as carbon nanotube/chitosan and lignin-based hydrogels, show improved capacities (24.73 mg/g and 47.59 mg/g, respectively)95,96reflecting the growing sophistication in polymer design for dye adsorption. Remarkably, the chitosan/ferrous oxide nanocomposite developed in this study exhibited a significantly higher adsorption capacity of 322.58 mg/g, far surpassing all other materials listed97. This exceptional performance (This study) suggests a strong synergistic effect between the chitosan matrix and the embedded iron oxide nanoparticles, which likely enhances the density of active adsorption sites and improves affinity toward Acid Red 73.

Regeneration and reusability of the sorbent material

Evaluating the regeneration and reusability of adsorbent materials is a key factor in determining their practicality and cost-effectiveness for environmental applications such as wastewater treatment98. In the current study, the reusability of the composite was assessed through successive adsorption-desorption cycles using a 50 mg/L solution of Acid Red 73 dye. The experimental conditions involved agitation at 180 rpm for 4 h, simulating realistic operational parameters (Fig. 9).

During the initial adsorption cycle (R1), the composite exhibited excellent performance, achieving a dye removal efficiency of 98.160%, indicating strong binding affinity between the adsorbent surface and dye molecules. In the second cycle (R2), a moderate reduction in performance was observed, with the efficiency decreasing to 88.7%. Despite this decline, the composite still maintained a considerable removal capacity, reflecting its structural stability and reusability.

However, a pronounced drop in adsorption efficiency was recorded in the third cycle (R3), where removal efficiency fell sharply to 9.99%. This significant reduction suggests a marked deterioration in the adsorbent’s active sites or surface functionality after repeated use. While the composite demonstrated promising reusability over the first two cycles, the third cycle revealed limitations that may be linked to saturation of adsorption sites, structural fatigue, or potential chemical alterations on the surface. These findings emphasize that although the composite is initially effective and partially reusable, its long-term application may require regeneration strategies or material reinforcement to sustain high performance. The decline observed in later cycles should be taken into account when considering its deployment in continuous or large-scale treatment systems.

Fig. 9
figure 9

Reusability study of acid red 73 dye.

Conclusion

The chitosan/ferrous oxide nanocomposite (CFON) demonstrated exceptional performance in removing Acid Red 73 dye (AR73) from aqueous solutions, exhibiting high adsorption capacity and photocatalytic activity under sunlight irradiation achieving a maximum removal percentage of 99.3%. The nanocomposite’s efficacy was confirmed through comprehensive characterization and batch adsorption experiments, revealing the influence of various parameters on dye removal efficiency. The adsorption process was found to be exothermic, spontaneous, and best described by the Freundlich isotherm model, while the kinetic studies indicated a pseudo-second-order model, suggesting chemisorption as the dominant mechanism. The synergistic effect of adsorption and photocatalytic degradation under sunlight resulted in significant dye removal. As well as, the results concluded that the CFON has positive impacts on water quality parameters of aquaculture effluent. CFON has improved the water quality parameters of aquaculture effluent wastewater. The pH was slightly increased. While reducing the values of EC (44.4%), TDS (46.3%), turbidity (14%), and NO3 (27%). These findings highlight the promising potential of CFON as a sustainable and efficient solution for removing hazardous dyes and improving water quality in various applications.