Introduction

The rapid development of technology, excessive consumption demand of people, irregular urbanization, uncontrolled population growth, developments in the industrial field, nuclear waste, and heavy metal accumulation cause pollution of natural resources and constitute the most important environmental problems of today. Dyestuffs, heavy metals, organic pollutants, radioactive pollutants, highly toxic substances, and pharmaceutical chemicals are the contents of industrial wastes that cause serious environmental problems1,2,3,4.

Dyes, heavy metals, and other waste materials used in many branches of industry, especially textiles, cosmetics, paper, pharmaceuticals, plastics, dye and leather threaten the environment by polluting water resources5,6,7,8. The textile industry uses a variety of dyes, including basic, acid, reactive, direct, azo, mordant, vat, and dispersion dyes9. Because they have the greatest color variation, the largest volumes, and the most adaptable properties of all the synthetic dyes, azo dyes take the top spot. Mordant Violet 40 dye is an example of a dye containing only one azo group, this dye can be found in the aquatic environment, is toxic and mutagenic to the ecosystem, may cause harmful effects on organisms, the effect relies upon the exposure time of the azo dye to the dye in water, as well as its concentration in water9,10.

Treatment of wastewater containing heavy metals is still a difficult and serious environmental concern. One of the heavy metals whose compounds are extensively employed in the chemical industry is chromium11. Some of the other application areas where chromium is used are the electroplating, textile, leather tanning, metal plating, production of organic chemicals, wood preservation, and chromate preparation industries12,13,14,15. Hexavalent chromium and trivalent chromium are most common in the environment, also chromium possesses several oxidation states (from – 2 to + 6). Cr6+ is highly soluble in water and bioavailable, while Cr3+ is less soluble and stable16. The Cr6+ ions, which is found to be toxic to stem cells and living organisms, harms human health because it is highly mutagenic and carcinogenic. Since chromium compounds are widely used and accumulated in natural environments, it is very important and necessary to remove them from the environment17.

Methods such as chemical precipitation, membrane filtration, electrochemical treatment, and adsorption are some of the traditional wastewater treatment technologies applied to remove heavy metals and dyestuffs from the water environment18,19,20,21,22. Studies to discover new techniques in the field of environmental technology have been guided by the shortcomings, application challenges, or costs of current treatment approaches. Among the mentioned treatment technologies, adsorption is the most efficient in terms of development and applicability23,24. The cost-effectiveness of the adsorption method, its ease of use, the easy separation of toxic organic–inorganic species from the aqueous environment, and the disposal of the separated toxic material without affecting the biological structures highlight the advantages of the method25,26.

Iron oxide (Fe3O4), titanium dioxide (TiO2), aluminum oxide (Al2O3), copper oxide (CuO), zinc oxide (ZnO), and nickel oxide (NiO) nanomaterials are well-known metal-based nano adsorbents for heavy metal removal and dyestuff27,28,29,30. By reducing the particle size, metal oxide nanoparticles were able to absorb more substances. To remove metal and organic pollutants simultaneously, metal oxide nanoparticles are injected into the skeleton of activated carbon or other porous materials31. By altering the pH of the fluid, it is also possible to recreate these metal-based nanoparticles, and after a few regenerations, they are sufficiently potent32. Some of these metal oxides are iron oxide nanoparticles such as magnetite (Fe3O4), maghemite, hematite (α-Fe2O3), and akaganéite (β-FeOOH) were used as nano-sized adsorbents to remove some of heavy metals and dyes from water33,34,35. Magnetic nanoparticles are becoming attractive for industrial and environmental applications due to their low cost, lossless recovery, and reusability36,37. However, aggregation of magnetite nanoparticles in water is undesirable, which reduces their catalytic capabilities. Various methods have been developed to overcome the coagulation of nanoparticles. In order to overcome this limitation and increase the catalytic activity of magnetic nanoparticles, materials such as graphene, graphene oxide, activated carbon, silica, carbon nanotube, bentonite, kaolinite, montmorillonite, and zeolite, etc. with high adsorption ability and catalytic activity are used as solid supports38,39,40,41,42,43,44,45,46. Thanks to the use of these materials as a support, the surface area of iron-based magnetic nanoparticles is increased and their distribution is facilitated. At the same time, nanomagnetic particles placed on these support materials have smaller particle sizes, less agglomeration, and higher thermal and chemical stability than those without support materials47,48.

Due to its high surface area and pores, activated carbon has a great potential to adsorb organic and inorganic compounds in the liquid and gas phases49. Since activated carbon has a large surface area, it has a great affinity for absorbing many deformations. AC is one of the most effective, economical, and simplest adsorbents for pollutants in aqueous solutions50,51. Although it can be found in organic cells as an adsorbent, activated carbon is difficult to extract from its solution. Electric or magnetic fields cannot regulate activated carbon because it lacks polarity. It is aimed to overcome this problem by synthesizing many activated carbon composite adsorbents with magnetic properties52,53,54. Technology for treating water might potentially develop with the addition of magnetic characteristics to activated carbon. Adsorption and magnetic separation work in concert to offer a flexible and effective solution to problems with water quality, all the while enhancing the overall sustainability of water treatment procedures. The goal of this field's ongoing research and development is to improve and broaden the uses of magnetic activated carbon in the pursuit of more sustainable and clean water sources10. The magnetic property of activated carbon is introduced through the incorporation of magnetic nanoparticles, such as magnetite (Fe3O4). This property allows for easy separation of the adsorbent from the solution after adsorption. Magnetic activated carbon can be manipulated using an external magnetic field, making the process more efficient and environmentally friendly9,10.

In this study, iron oxide nanomagnetic composite (CAC-IO) was prepared from fisher commercial activated carbon (CAC) by co-precipitation method. This work is the first to use this type of commercial activated carbon to produce magnetic activated carbon composite and use it in the adsorption of heavy metals and textile dyes. The CAC-IO was invesrigated as an adsorbent for toxic metal (Cr6+) and azo dye (Mordant Violet 40). However, to our knowledge, Mordant Violet 40 dye removal has only been published by us. The importance of CAC-IO is that it shows a high Qm for the MV40 dye and Cr6+ ions compared to the published data. The nano-magnetic composite was synthesized by using different iron salts and different base solutions. The magnetic iron oxide nanocomposite was comparatively characterized by FTIR, BET, SEM, EDX TEM, VSM, and XRD techniques. Different adsorption and kinetic isotherm models were used to investigate the mechanism of adsorption of two pollutants Cr6+ions and Mordant Violet 40 (MV40) dye on the synthesized iron oxide nanocomposite (CAC-IO). The adsorption capacity of the CAC-IO nanocomposite was calculated using the Langmuir and Freundlich models. To ascertain the adsorption mechanism, pseudo-first-order (PFO), pseudo-second-order (PSO), and intraparticle diffusion (IPDM) models were applied.

Materials and methods

Materials

Activated charcoal powder was purchased from Fisher Scientific, UK. Iron (III) Nitrate Nona hydrate (98%), and Iron (II) chloride hydrate were obtained from LOBA Chemie Company, India. Ferrous Sulphate Heptahydrate (FeSO4.7H2O), Ferric chloride (FeCl3), Ammonia solution (25%), Sodium hydroxide, Sodium carbonate and Ethanol were obtained from El Nasr Company, Egypt. Hydrogen peroxide (50%) was purchased from Gateway Company, Hydrochloric acid solution (37%) and Sulfuric acids (98%) were purchased from Merck Company; Potassium dichromate was purchased from Sigma Aldrich Company, USA. MV40 dye salt was purchased from ISMA dye Company, Kafer El Dwar, Egypt.

Surface modification of commercial activated charcoal (CAC)

CAC oxidation was performed to increase the active site and functional group on the surface of CAC to obtain better contact with iron oxide. Oxidation of commercial activated charcoal powder was achieved by placed of 100 g of CAC in 1800 mL of hydrogen peroxide solution (8%) in the presence of ozone flow for 2 h. The carbon suspension was then filtered with a vacuum. After sequential pumping, several times distilled water and ethanol were used, respectively, for washing until the pH stabilized (approximately neutral). The resulting wet powder was dried in an oven (105 °C) for 24 hto remove its moisture and then weighed to obtain 91 g of dried powder55,56.

Preparation of ıron oxide-commercial activated carbon nanocomposite (CAC-IO)

Co-precipitation method was used to create an iron oxide nanocomposite from commercial activated carbon by dissolving 4.04 g of iron (III) nitrate nonahydrate (98%) and 1.2 g of iron (II) chloride hydrate in 500 mL of distilled water in 1000 mL added to 10 g of CAC powder in a round table flask (3.38:1:8.33 of Fe(NO3)3:FeCl2:oxidized CAC, respectively)57. The obtained suspension was ultrasonically agitated in a sonicator at ambient temperature and normal atmospheric pressure for 30 min. The ultimate pH was 13.72 after adding 100 mL of sodium hydroxide solution (5 M) drop by drop over the course of 45 min. The flask containing the created composite was moved to be refluxed for 16 h at moderate temperatures after the base solution had been fully added. After cooling to ambient temperature, the iron oxide nanocomposite from commercial activated carbon was filtered and collected with a magnet. It was then repeatedly cleaned with distilled water before being exposed to 98% ethanol. The nanocomposite was dried in an electric oven, and the 11.63 g of CAC-IO powder were measured using a balance.

Characterization

The characterisation of CAC-IO nanocomposites has involved the application of a number of approaches. The surface functional group on the CAC-IO powder and CAC after treatment was identified using an FT-IR Spectrophotometer with an ATR unit. The samples' ATR-FTIR spectra were taken using a Bruker VERTEX 70 spectrophotometer in the range of 4000 to 400 cm-1. The produced samples (CAC after treatment, CAC-IO) were measured using Nitrogen-adsorption isotherm to determine their surface area, pore volume, and pore size distribution. At 77 K, sample measurements were started after the pressure was brought to P/Po = 0.99. Using the Belsorp Mini II, Version 1.2.5 surface area analyzer, the average pore diameters and total surface areas of the samples were calculated using the Brunauer, Emmett, and Teller (BET) equation. The surface morphology and porosity of CAC after treatment and CAC-IO samples were examined using an analytical Scanning Electron Microscope (JEOL JSM-6360LA). After the samples were powdered, they were coated with a gold layer to obtain clearer images and increase conductivity.

The morphology and particle size of the CAC-IO sample were examined using ESL Transition Electron microscopy from Scientific Researches City. For this purpose, 2 mg of the powdered samples was taken and dissolved in 5 mL of ethanol and mixed in the centrifuge device. A drop of the resulting suspension was tested by dropping it onto a copper grid. The degree of crystallinity and phase compositions of prepared samples were determined by an X-ray diffraction device (model No, 202,964) from Beni Sweif University. The Cu-Kα radiation was used to generate the XRD pattern at 10 mA, 1.54Å wavelength, and 25 °C in the 2θ region of 10–80°.

The magnetic property of the nanocomposite was realized with the VSM device at Beni Sweif University. It ranged from + 20 KOe to –20 KOe for the magnetic field of G. The amount of MV40 dye in aqueous solutions was measured using an Analyticjena Spekol 1300 UV–VIS Spectrophotometer (Model No. 4560002, Cole Parmer Instrument Co., USA).

Adsorption experiments

Separately, a volumetric flask was used to dissolve a specific quantity of K2Cr2O7 and MV40 dye salts in 1000 mL of distilled water to create a stock solution of 1000 mg L–1 of Cr6+ solution and MV40 dye. The stock solutions for the Cr6+ ions and MV40 dyes were produced separately from their diluted concentrations. The different Cr6+ ion concentrations and MV40 dye solution concentrations (100, 150, 200, 300, and 400 ppm) were added separately to the adsorption batches along with various concentrations of CAC-IO composite (1.0, 1.5, 2.0, and 2.5 g L–1). Each concentration had a volume of 100 mL in a conical flask, and the adsorbent-adsorbate suspensions were agitated using a shaker at room temperature and 200 rpm for 180 min for each pollutant's specific equilibrium duration. To determine the amount of leftover Cr6+ ions and MV40 dye in each solution, a sample of each solution was obtained at regular intervals. In adsorption experiments, it took 3 h for the samples to reach equilibrium, and analyses were performed at the end of this period. Adsorption tests were carried out with 0.5 ml Cr6+ ions sample or 2 ml MV40 dye sample at intervals of 5, 10, 20, 30, 45, 60, 90, 120, 150, and 180 min. Then, the composites were separated from the solutions by centrifugation at 6000 rpm for 5 min, and a magnet was used to disperse the composites in the solution and prevent the samples from separating. Cr6+ ion and MV40 dye filtrates obtained after centrifugation were measured at absorbance wavelengths of 540 and 510 nm, respectively2,10,58, on a spectrophotometer device for concentration determination. The effects of parameters such as initial concentration of adsorbates, nanocomposite concentration , contact time, and pH, which affect the removal of Cr6+ ions and MV40 dye from aqueous solutions of the prepared iron oxide nanocomposite CAC-IO samples were examined.

The experimental data from adsorption batches were tested by using different adsorption isotherm (Langmuir and Freundlich) and kinetic (PFO, PSO, IPDM) models. These models facilitated knowledge of the mechanism of adsorption in our study on nanocomposite adsorbent.

The removal % (R%) can be calculated by Eq. (1)10.

$$R\%=\frac{({C}_{0}-{C}_{t})}{{C}_{0}}x100$$
(1)

where Co and Ct are the initial and final concentrations of adsorbate in aqueous solution, respectively. Adsorption capacity q (mg g-1) can be calculated from Eq. (2).

$$q=\frac{\left({C}_{0}-{C}_{t}\right)*m}{V}*100$$
(2)

where m is the mass of the iron oxide nanocomposite in grams and V is the volume of the adsorbate solution in Liter (L).

The pH of different solutions was measured at 1.0 g L–1 of adsorbent concentration (CAC-IO), 100 mL solution of 100 mg L–1 of Cr6+ ions, and MV40 dye concentrations individually for 3 h of contact time. The MV40 dye solutions and Cr6+ ion concentrations ranged in pH from very acidic to strongly basic solutions (pH = 1 to 11); the pH of the adsorbate solution under study was slightly different from this pH range.

Results and discussion

Characterization of adsorbent

FTIR analyses

The produced materials (CAC, CAC after treatment, and CAC-IO) were characterized using the Fourier transform infrared technique, as shown in Fig. 1. The FTIR spectrum of CAC, CAC after oxidation, and CAC-IO nanocomposite showed a broad peak at 3049 and 3225 cm–1 due to the OH bond, also a peak appeared at 1576, 1578, 1576 cm–1 with small shifts due to the C=C stretching bond and the bands appeared at 1174, 1192 and 1221 cm–1 assigned to C–O stretching from phenolic, alcoholic, etheric groups and to C–C bond, similar results was obtained by Bagheri et al. (2017)59. The fact that all spectra included peaks at 2354 cm–1 caused by the C–C bond in the structure of activated carbon showed that the structure had not been damaged during the composite pyrolysis53. Due to the synthesis of nano-iron oxide, a new peak at 575 cm–1 in the CAC-IO spectra had been developed. The appearance of the Fe–O stretching bond revealed that iron oxide nanoparticles had been deposited on the CAC-IO adsorbent surface. The peaks appeared at 886 and 793 cm–1, which may be due to the δ(OH) and γ(OH) vibration in and out of the plane, respectively, indicated to geothite peaks57,60,61,62.

Figure 1
figure 1

FTIR spectrum for CAC, CAC after oxidation and CAC-IO nanocomposite.

BET analyses

Using the BET equation, the surface area and pore information of the produced nanocomposite and its constituent material were calculated. The pore volume (Vt) for each adsorbent and its precursor materials was calculated using nitrogen adsorption at relative pressure P/Po = 0.99. The pore diameters of commercial and synthesized activated carbon and nanocomposites were calculated.

As seen in Table 1 using BET analyses, the specific surface areas of CAC, CAC after oxidation, and CAC-IO were calculated as 1426.8, 985.58, and 1070 m2 g–1, respectively. The use of H2O2, a powerful oxidizing chemical, caused damage to the pores in CAC's structure, resulting in a reduction in surface area following oxidation55,63,64. As the surface area increases after adding Fe3O4, it expected that the Fe3O4 is attached to the functional group on the surface of CAC rather than inserted inside the pores.

Table 1 Data of surface analyses of CAC, CAC after oxidation and CAC-IO.

Figure 2 showed the nitrogen adsorption–desorption isotherms of the precursor materials and showed that they were type (IV) isotherms65. The structure of CAC and CAC after oxidation, as well as CAC-IO, were mesoporous66, according to the IUPAC classification, which is micropores (d < 2 nm), mesopores (2 < d < 50 nm), and macropores (d > 50 nm)65.

Figure 2
figure 2

N2 adsorption–desorption isotherm plot of CAC (a), CAC after oxidation (b) and CAC-IO nanocomposite (c).

The CAC-IO nanomagnetic adsorbent's pore volume was 0.9155 cm3 g–1. The findings demonstrated that the oxidation process and the resulting production of magnetic nanocomposites reduced the surface area of the commercial activated carbon (CAC), which was caused by the dispersion of iron oxide nanoparticles on the carbon surface, from 1426 m2 g–1 to 1070 m2 g–1.

SEM-TEM analyses

As shown in Figs. 3a,b, scanning electron microscopy was used to examine the surface morphology and shape of the adsorbent prepared after oxidation and its iron oxide nanocomposite (CAC-IO). The surface of CAC-IO showed roughness than that of CAC, which may explain the attachment of Fe3O4 to the surface functional group instead of being inserted into the surface pores. The TEM image of the CAC-IO nanocomposite obtained using the Transition Electron Microscopy (TEM-2100 Electron Microscope) to determine the nano-sized composite spacing and their shape at the nanoscale is shown in Fig. 3c. TEM image of CAC-IO nanocomposite showed the particle shape of nano iron oxide was spherical and agglomerated to each other. According to Fig. 3c, the particle size ranged from 4.12 to 19.5 nm, and smaller particles have a higher adsorption capacity.

Figure 3
figure 3

SEM Images of CAC after oxidation (a) and CAC-IO nanocomposite (b) at 15 kV and 2000 × magnification and TEM image of CAC-IO nanocomposite (c) at 50 nm scale.

EDX analyses

As shown in Table 2, the elements and iron oxide nanocomposites in the adsorbent produced during the treatment were identified and determined using the SEM–EDX equipment. The study of CAC after oxidation verified the existence of several components, including Carbon, Oxygen, Sodium, Silicon, and Chlorine with percentage ratios of 83.26, 15.38, 0.17, 1.05, and 0.14%, respectively, in the CAC structure. The iron element Fe has a weight ratio of 12.09% owing to the magnetic CAC-IO synthesis, and the examination of CAC-IO nanocomposites in Fig. 4 confirms the presence of the same components in CAC after oxidation with a modified weight ratio. The production of iron oxide nanocomposites with iron components resulted in a reduction in the carbon content from 83.26 to 65.25%66.

Table 2 The EDX of CAC after oxidation and CAC-IO nanocomposite.
Figure 4
figure 4

EDX analyses chart of CAC after oxidation (a) CAC-IO nanocomposite (b).

VSM analyses

The magnetization curve of the synthesized magnetite iron oxide nanocomposite (CAC-IO) was measured to study the magnetic properties at room temperature in a magnetic field with a cycle of –20 to + 20 KOe. The highest saturation magnetization for CAC-IO was 7.4130 emu g−1 as in Fig. 5, which is due to the high iron oxide content of the CAC-IO nanocomposite. The magnetic properties of CAC-IO (7.4130 emu/g) compared to the magnetic properties of pure Fe3O4 nanoparticles (~ 90 emu/g) may be expained by the formation of CAC composites with Fe3O4 nanoparticles, which has a substantial impact on the magnetic properties of Fe3O4. This phenomenon can be attributed to factors such as the surface area and elemental composition of Fe3O4 within the composite or to the percentage of Fe3O4 within the CAC-IO composite.

Figure 5
figure 5

Magnetization curve for CAC-IO nanocomposite.

XRD analyses

XRD analyses of the prepared nanocomposites and their pure materials obtained under Cu-kα radiation at 25 °C are given in Figs. 6a,b. In Fig. 6a, the only peak that appeared at 26.14° is related to commercial activated carbon after oxidation, similar results were obtained according to Gholamvaisi et al. (2014)67.

Figure 6
figure 6

XRD graph of CAC after oxidation (a) and CAC-IO (b).

Figure 6b indicates to CAC-IO nanocomposite that shows several peaks at different angles at 30.31, 35.66, 43.25, 57.42, and 63.04°, the maximum peak intensity was at 2θ = 35.660 which indicates the presence of magnetite (Fe3O4) or maghemite nanoparticles in cubic crystal structure shapes according to reference card code 04-013-9811. After oxidation, no peak for CAC was seen in Fig. 6b; this could be because the surface of the carbon has agglomerated or been coated with magnetite or maghemite nanoparticles68.

The average crystalline size of the prepared CAC-IO was determined from the XRD results; it was calculated from Scherrer’s formula (Eq. (3)),

$$ L = K\lambda /B{\text{Cos}}\theta , $$
(3)

where L is the crystalline size, λ is the wavelength of the X-ray, B is the full width of half maximum of a diffraction peak, θ is the angle of diffraction and K is the Scherrer’s constant of the order of 0.8959.

The XRD results show that the average crystal size of CAC-IO is 24.21 nm at 2θ = 35.66, which is in good agreement with the TEM results.

Adsorption of Cr6+ ions and MV40 dye on CAC-IO nanocomposite

Effect of pH

In order to examine the effect of solution pH on adsorption, solutions were prepared at constant concentrations at various pHs, and the adsorption of a certain amount of adsorbent and a certain volume of pollutant solution at room temperature was studied. As a result of the studies, the effect of different pH solutions has revealed that the best removal percentage is on acidic pH. Figure 7 shows that by increasing the pH of Cr6+ ions solutions from 1.6 to 11.24, the percentage of Cr6+ removal decreased from 99.58 to 45.45%, giving the maximum removal percentage at pH 1.6. The effect of pH value on the chromium species in the solution and its effect on the chromium removal % were previously studied14,15,23,69,70,71,72. pH Fig. 7 also shows that the removal % decreased by increasing the pH of MV40 dye solutions from 1.3 to 10.97, giving a maximum removal percentage was 99.08% at pH 2.07,100 mg L–1 of initial dye concentration with 1 g L–1 of CAC-IO concentration and 3 h of contact time. This result is due to the electrostatic attraction between the positively charged CAC-IO surface and the negative charges on the dye molecules at acidic pH, but at higher pH, there was repulsion between the two opposite charges of the dye molecules and the adsorbent surface used. Similar results were obtained in Kalantry et al. (2015)73.

Figure 7
figure 7

Effect of pH on the removal of Cr6+ ions and MV40 dye from aqueous media (Pollutant = 100 mg L−1, adsorbent = 100 mg L–1, Time = 3 h).

Effect of CAC-IO adsorbent concentration

Different concentrations from CAC-IO nanocomposite (1, 1.5, 2, 2.5 g L–1) were used to study the adsorbent concentration effect at 400 mg L–1 of initial concentrations of Cr6+ ions and MV40 dye solutions, contact time is 3 h and fixed pH = 1.6 for Cr6+ ions solutions after adding the adsorbent while the dye solution pH was fixed at 2.07 for MV40 dye after adding the adsorbent separately. The resulting samples were drawn at intermittent times (10, 20, 30, 45, 60, 90, 120, 150, and 180 min) to separately analyze the final concentrations of Cr6+ ions and MV40 dye in solutions. Figure 8 illustrates the chart used to examine the influence of nanocomposite concentration on the percentages of Cr6+ ions and MV40 dye removal from water, respectively. The result shown for Cr6+ adsorption revealed that by increasing the adsorbent concentration (CAC-IO) from 1 to 2.5 g L–1, the removal percentage increased from 54.33 to 78.80%, so 2.5 g L–1 of CAC-IO nanocomposite was considered to be the optimum concentration to remove 400 mg L–1 of Cr6+ ions from aqueous media at optimum solution pH = 1.6, room temperature and equilibrium time = 3 h.

Figure 8
figure 8

Effect of different CAC-IO concentrations on the removal % of Cr6+ ions and MV40 dye using 400 mg L–1 of pollutants' concentrations and 1.0 g L–1 as CAC-IO concentrations.

This results from the presence of unsaturated adsorption sites on adsorbent (CAC-IO) during the adsorption process, also the decrease in adsorption capacity may be due to the aggregation of adsorbent particles due to the high concentration of it. This aggregation may result in a reduction in the adsorbent's overall surface area and an increase in the diffusional route length74. The chart for the adsorption of MV40 dye indicated that increasing the adsorbent concentration (CAC-IO) from 1.0 to 2.5 g L–1 slightly enhanced the elimination percentage from 97.64 to 99.79%. At optimal solution pH = 2.07, room temperature, and equilibrium time is 3 h, 1.0 g L–1 of CAC-IO nanocomposite was thought to be the best concentration to remove 400 mg L–1 of MV40 dye from aqueous medium as shown in Fig. 8. However, there was no significant increase in the removal percentage of dye at concentrations larger than 1.0 g L–1.

Effect of initial adsorbate concentrations on CAC-IO nanocomposite

Different five concentrations (100, 150, 200, 300, 400 mgL−1) of Cr6+ ions and MV40 dye solutions were each examined during batch adsorption experiments at 1.0 g L–1 CAC-IO concentration individually at fixed pH = 1.6 in case of Cr6+ ions adsorption and pH = 2.07 in case of MV40 dye adsorption at room temperature. Commercial activated carbon-iron oxide nanocomposite (CAC-IO) was used to study the impact of initial Cr6+ ions concentrations on the rate of adsorption in the range of 100 to 400 mg L–1, as shown in Fig. 9a. It is obvious that the Cr6+ ions removal by different adsorbents doses (CAC-IO) was dependent on the initial Cr6+ ions concentrations, this is due to increasing the initial Cr6+ ions concentrations increased the amount of Cr6+ ions adsorbed on the adsorbent adsorption capacity (qe).

Figure 9
figure 9

Effect of various concentrations of Cr6+ ions (a) and MV40 dye (b) on adsorption capacity qe (mg g–1) for each CAC-IO concentration (pH of Cr6+ ions solutions = 1.6 and pH of MV40 dye solutions = 2.07).

This increase is due to the resistance to the uptake of solute from Cr6+ ions solution decreased so the initial concentrations of Cr6+ solutions provide an important driving force to overcome the mass transfer resistance of Cr6+ ions between the aqueous and the solid phases75. In the range of 100 to 400 mg L–1, the impact of initial MV40 dye concentrations on the rate of adsorption by CAC-IO was examined, as shown in Fig. 9b. Additionally, the number of MV40 dye molecules adsorbed on the CAC-IO surface developed when initial dye concentrations were raised, which is why the MV40 dye removal by various adsorbent (CAC-IO) concentrations were reliant on those initial dye concentrations. As it was previously mentioned, this rise results from a reduction in the impedance to solute absorption from dye solution75.

Effect of contact time using CAC-IO

An experiment was done to study the effect of contact time, 100 mg L–1 of Cr6+ ions or MV40 dye initial concentrations were tested, and 2 g L–1 CAC-IO adsorbent concentration (highest dose gave maximum removal %) in case of Cr6+ ions solutions and 1.0 g L–1 CAC-IO adsorbent concentration in case of dye solutions at pH of Cr6+ ions and dye solutions, 1.6 and 2.07, respectively, and room temperature. The obtained samples were taken at interval times (10, 20, 30, 45, 60, 90, 120, 150, and 180 min) and analyzed by UV–visible spectrophotometer at 540 and 510 nm of maximum wavelengths of Cr6+ ions and MV40 dye, respectively.

The rapid removal of Cr6+ ions after only 10 min (87.92%) in the initial phase of adsorption from 0 to 10 min and then the rate of removal gradually slowed down until the equilibrium state was reached after 180 min, as shown in Fig. 10a. The rate of removal of MV40 dye was very fast (98.49%) from 0 to 10 min, and then the rate of removal gradually slowed down until it reached a constant value at equilibrium, as shown in Fig. 10b.

Figure 10
figure 10

Effect of contact time on adsorption of Cr6+ ions (a) and MV40 dye (b) on CAC-IO nanocomposite at optimum dose = 2 g L–1 (pH of Cr+6 ions solutions = 1.6 and pH of MV40 dye solutions = 2.07).

The results were interpreted that the higher availability of vacant sites on the adsorbent surface at the initial stage while by passing the time of experiments, these sites were occupied by the adsorbate molecules, and the number of vacant sites became few so the removal percent of Cr6+ ions and MV40 dye molecules become very slow, also it was shown that the variations of initial dye and Cr6+ ion concentrations did not significantly affect the removal rate to reach its equilibrium state.

Finally, we concluded that the maximum removal % of Cr6+ solutions was 98.60% after 180 min and the initial Cr6+ concentration was 100 mg L–1 using 2.0 g L–1 of CAC-IO adsorbent concentration, while 99.92% was the highest dye removal percent after 180 min using only 1.0 g L–1 of CAC-IO and 100 mg L–1 of initial dye concentration.

Adsorption isotherms

As indicated in Fig. 11, Langmuir and Freundlich isotherms were examined for the distinct adsorption of Cr6+ ions and MV40 dye on CAC-IO nanocomposites. The adsorption isotherm data of Langmuir and Freundlich models obtained using Langmuir and Freundlich models are shown in Table 3. The interaction between adsorbates and adsorbents is represented by the properties of adsorption and the parameters of each isotherm model; this information reveals the nature of the interaction76.

Figure 11
figure 11

Langmuir (a) Freundlich (b) isotherm profiles for Cr6+ ions and Langmuir (c) Freundlich (d) isotherm profiles MV40 dye of initial concentration (100–400 mg L–1) on CAC-IO doses (1.00–2.50 g L−1) at 25 ± 2 °C, contact time: 180 min).

Table 3 Adsorption isotherm data for Cr6+ ions adsorption on CAC-IO nanocomposite at room temperature.

The Langmuir model assumed that the adsorption was monolayer on a homogeneous adsorbent surface, that there was no interaction between the molecules that were adsorbed, and that the transmigration of the molecules that were adsorbed on the adsorbent surface was not permitted77. The Langmuir linear Eq. (4) can be expressed as follows (Eq. (4)):

$$ C_{e} /q_{e} = {1}/K_{a} Q_{m} + { 1}/Q_{m} \times C_{e} , $$
(4)

where Ce is the concentration of adsorbate in solution (mg L–1) at equilibrium, qe is the adsorption capacity at equilibrium in mg g−1, Ka is constant related to free energy of adsorption (L mg–1), and Qm is the maximum adsorption capacity at monolayer coverage in mg g–1. An empirical linear equation of Freundlich Isotherm assumed that the adsorbent surface was heterogeneous; the equation was expressed as shown in Eq. (5):

$$ {\text{Ln}}q_{e} = {\text{ln}}K_{f} + {1}/n{\text{ln}}C_{e} , $$
(5)

where Kf (mg1–1/n g-1 L1/n) and n are the Freundlich constants, they indicate the adsorption capacity and intensity of adsorption, respectively. The values of 1/n in Tables 3, 4 are greater than zero and lower than 1, (0 < 1/n < 1) the adsorption is favorable78.

Table 4 Adsorption isotherm data for MV40 dye adsorption on CAC-IO nanocomposite at room temperature.

The isotherm parameters obtained from both models due to Cr6+ ions adsorption on CAC-IO are listed in Table 3. It showed that the Cr6+ ions adsorption was best fitted by the Freundlich model as shown in Fig. 11a,b. The separation factor RL was calculated by Eq. (6).

$$ R_{L} = {1}/{1} + K_{a} C_{o} . $$
(6)

The separation factor value (RL) determined the favorability of the adsorption process. It ranged from 0.02 to 0.48, so 0 < RL < 1, this indicated that the adsorption of Cr6+ ions on the CAC-IO nanocomposite surface was favorable. The maximum adsorption capacity Qmax was 312.5 mg g–1 at 1.0 g L–1 of CAC-IO.

The experimental results were fitted to both isotherm models (Langmuir and Freundlich) in the adsorption of MV40 dye on CAC-IO, as shown in Fig. 11c,d. The maximum adsorption capacity (Qm) for the Langmuir model was 833.3 mg g–1, as shown in Table 4 and the correlation coefficients R2 obtained from that model varied from 0.958 to 0.986, while those obtained from the Freundlich model ranged from 0.979 to 0.995. Due to the proximity of R2 to 1, these results showed that the adsorption process was fit for both models, however, the Freundich model was better matched than the Langmuir model. Table 4 also showed that the adsorption process of dye on CAC-IO adsorbent was favorable due to 1/n values being lower than 1 as discussed before. The separation factors RL were ranged from 0.001 to 0.063. These results indicated that the MV40 dye adsorption on CAC-IO was multilayer.

Adsortion kinetic studies

Three kinetic models, such as the pseudo-first-order (PFO), pseudo-second-order (PSO), and Intraprticle Diffusion (IPDM) models, were used to study the adsorption kinetic data. The rate expression of Lagergren indicated PFOas shown in Eq. (7)79,80:

$${\text{log}}({q}_{e}-{q}_{t})=\mathrm{log }({q}_{e})-\frac{{k}_{1}}{2.303}t$$
(7)

where qt (mg g−1) is the amount of adsorbed Cr6+ ions on CAC-IO adsorbent in time t and k1, (min−1), is the first-order rate constant, qe is the adsorption uptake at equilibrium. The straight line was obtained representing, log (qe − qt) as the y-axis and t as the x-axis (Fig. 12a–d). The qe and k1 shown in Tables 5 and 6 were determined from the intercept and slope of the plot, respectively. The linear PSO was used79,80 as in Eq. (8):

$$(\frac{t}{{q}_{t}})=\frac{1}{{k}_{2}{q}_{e}^{2}}+\frac{1}{{q}_{e}} \left(t\right),$$
(8)

where k2 (g mg–1) (min–1) is the pseudo-second-order rate constant. From the slope of the straight line t/qt vs. t plot, as shown in Fig. 12b–e, we can obtain qe while K2 obtained from its intercept.

Figure 12
figure 12

The plot of PFO (a) PSO (b) IPDM (c) of adsorption of Cr6+ ions and PFO (d) PSO (e) IPDM (f) of adsorption of MV40 dye by CAC-IO adsorbent (Initial concentration = (100–400 mg L-1), Adsorbent dose = (2.0 g L−1 for Cr6+ ions and 1.0 g L−1 for MV40 dye), Temperature = 25 ± 2 °C).

Table 5 Comparison of the first- and second-order adsorption rate constants and calculated and experimental qe values for various initial Cr6+ ions and CAC-IO concentrations.
Table 6 Comparison of the first- and second-order adsorption rate constants and calculated and experimental qe values for various initial MV40 dye solutions and CAC-IO concentrations.

The kinetic parameter values of Cr6+ ions and MV40 dye adsorption on CAC-IO adsorbent were summarised in Tables 5, 6 and 7 separately. It showed that the adsorption process follows the PSO model according to correlation coefficient (R2) from 0.982 to 1.00 in the case of Cr6+ ions adsorption and R2 = 1 for MV40 dye adsorption and closeness of the calculated equilibrium adsorption capacity (qe)calc to those obtained from the experimental value (qe)exp. However, R2 values for the PFO model are not satisfactory. So, the PSO adsorption model is more confirmed for an explanation of the adsorption kinetics of Cr6+ ions and MV40 dye by CAC-IO nanomagnetic adsorbent separately. These results were interpreted that the adsorption process was chemisorption81. Chemisorption is the sharing or exchanging of electrons between the adsorbate and the active sites on the adsorbent81.

Table 7 IPDM results of adsorption of Cr6+ ions and MV40 dye by CAC-IO adsorbent (Initial concentration = (100–400 mg L–1), adsorbent doses = (1.0–2.5 g L−1), Temp. = (25 °C)).

To interpret the diffusion mechanism, the experimental results were analyzed and fitted to the intraparticle diffusion model (IPDM) which is expressed by the following Eq. (9):

$$ q_{t} = K_{diff} t^{{0.{5}}} + C, $$
(9)

where Kdiff is the intraparticle rate constant (mg g−1 min0.5) and C is an intercept (mg g−1) which indicates the boundary layer effect. Figure 12c–f shows a linear plot of qt vs t0.5, these figures showed that these parameters increased by increasing the initial concentration of Cr6+ ion solutions, and there was an increase of C due to the increase of the thickness of the boundary layer. It was seen that the linear plot didn’t pass through the origin, these indicate that intraparticle diffusion was not only the rate-determining step82.

The IPDM was also tested on the adsorption of the MV40 dye on CAC-IO nanocomposite, the qt vs t0.5 plot was drawn as shown in Fig. 12f, and similar behavior was obtained as in the Cr6+ ions adsorption process in Fig. 12c, none of the lines didn’t pass through the origin and the intercepts C increased by increasing the initial concentrations of dye solutions from 100 to 400 mg L–1 at each adsorbent dose as shown in Table 7. It was concluded that the IPDM was not the only rate-controlling step as discussed previously.

Comparison of results with reported literature

Table 8 shows some of the previous literature done for removing Cr6+ ions from aquatic media and dyes. The maximum adsorption capacity was recorded in this Table at a certain temperature, it was found that CAC-IO nano adsorbent has the greatest Qmax recorded more than the mentioned literature at room temperature. These values were 312.5 and 833.3 mg g–1 for Cr6+ ions and MV40 dye removal at fixed 1.0 g L–1 of nano adsorbent concentration, respectively. From this comparison, it is obvious that the CAC-IO nanocomposite prepared from CAC was an excellent adsorbent for removing Cr6+ ions and MV40 dye from aqueous solutions.

Table 8 A comparison of the highest pollutant removal capabilities of some adsorbents.

Regeneration of MG-OPAC

To test the viability and reusability of CAC-IO as an adsorbent, desorption tests of the Cr6 + ions and MV40 dye from the CAC-IO adsorbent were carried out by 0.1 M NaOH and HCl as elution media. With increasing regeneration cycles in this situation, the desorption percentage dropped (Fig. 13a,b). The regenerated CAC-IO was used in six successive adsorption/desorption cycles for the two pollutants with Slightly better for Cr6+ ions. The amount of adsorption that was offered remained constant during the cycles; however, after six regenerations, the adsorption capacity of Cr6+ ions had decreased by 10.1%, while the desorption capacity decreased by 10.8% after six desorption cycles. On the other hand, After six regenerations, the adsorption capacity of MV40 dye had decreased by 14.1%, while the desorption capacity decreased by 13.9% after six desorption cycles. It implies that it might be employed as a long-lasting Cr6+ ions and MV40 dye adsorption process (Fig. 13a,b).

Figure 13
figure 13

(a) Cr6+ ions desorption% from CAC-IO (2.0 g L–1) and the regenerated CAC-IO was used to promote Cr6+ ions (100 mg L–1) adsorption cycles using pH = 1.0, (b) MV40 dye was desorption% from CAC-IO (1.0 g L–1) and the regenerated CAC-IO was used to promote MV40 dye (400 g L–1) adsorption cycles using pH = 2.07.

Adsorption mechanism of Cr6+ ions and MV40 dye ions by CAC-IO

In the case of Cr6+ ions and MV40 dye, the probable adsorption mechanism onto magnetic commercial activated carbon (CAC-IO) in acidic medium was explained in Fig. 14. The activated carbon possesses numerous surface functional groups such as hydroxyl (-OH), carboxyl (-COOH), and other polar moieties. These functional groups play a crucial role in attracting and holding the pollutant molecules. Cr6+ ions and MV40 dye are likely to have charged particles, as many pollutants are ionic or polar in nature. The activated carbon, being a porous material, has a large surface area with a distribution of positive and negative sites. After the oxidation of the CAC, many functional groups were formed on the adsorbent (CAC) surface like allene C=C=C, ketamine C=C=N, hydroxyl O–H, and C–N groups. CAC, with its graphitic structure, can form π-π interactions with these aromatic rings. This type of interaction enhances the adsorption capacity, especially when the activated carbon is magnetic. The mechanism of the removal of Cr6+ ions and MV40 dye in an acidic medium may be achieved via physical interaction due to electrostatic interaction between the positive hydrogen ions in the bulk solution and the nitrogen and oxygen functional groups on the CAC-IO surface, then surface charge became positive; subsequently electrostatic interaction was occurred between the positively charged surface and the predominant pollutant anionic species ([HCrO4] and [MV40] dye).

Figure 14
figure 14

Probable mechanism for the Cr6+ and MV40 dye ions adsorption onto the CAC-IO in acidic medium.

Conclusion

Iron oxide nanocomposite (CAC-IO) was prepared from commercial activated carbon (CAC) by co-precipitation method using different iron salts and different base solutions. The Cr6+ ions removal % from its solution by CAC-IO adsorbent was 98.60% at solution pH 1.6 and adsorbent concentrations 2.0 g L–1. The removal % of MV40 dye was 99.92% by CAC-IO, at pH of dye solutions = 2.07, and adsorbent concentrations of 1.0 g L−1 of CAC-IO at 100 mg L−1 of initial dye concentration. The removal percentage of Cr6+ ions and MV40 dye was higher in acidic solutions than in basic solutions. CAC-IO nanocomposite has 7.4130 emu g–1 magnetization saturation. Qmax of Cr6+ ions on CAC-IO was 312.50 mg g−1 at 1.0 g L–1, while in the case of MV40 dye, it was 833.3 mg g–1 at 2.0 g L–1 adsorbent concentration. Freundlich model was the most fitted on MV40 dye adsorption using CAC-IO; also it was the best fitted model in Cr6+ ions adsorption on CAC-IO. CAC-IO nanocomposite can be separated from aqueous media after treatment and adsorption process by a magnet. An encouraging development in water treatment technology is the incorporation of magnetic characteristics into activated carbon usch as preparation of CAC-IO. The combination of magnetic separation and adsorption offers a flexible and effective way to deal with problems related to water quality, all the while enhancing the overall sustainability of water treatment procedures. Pursuing cleaner and more sustainable water resources is the goal of ongoing research and development in this subject, which aims to broaden and improve the uses of CAC-IO. The prepared Iron oxide nanocomposite CAC-IO can be used for the adsorption of Cr6+ ions and MV40 dye from aqueous media. The regeneration of CAC-IO was effective up to six cycles, which explains the possibility of using the prepared CAC-IO in treating industrial wastewater with high effectiveness, which may lead to reducing the cost of treating industrial wastewater.