1 Introduction

Heavy metal ions represent a perilous, persistent, and non-biodegradable pollutant found in industrial effluents. The surge in global industrial manufacturing capacity, escalating from 1.2 billion tons in 2000 to 2.3 billion tons in 2017, is a direct outcome of the fourth industrial revolution. Consequently, this heightened manufacturing capacity has resulted in an increased release of industrial effluents that contain heavy metal ions, into water sources [3]. The industries contributing substantial amounts of metals to wastewater encompass a wide range of sectors. These include chemical production, sugar refineries, food and dairy processing, paper and pulp mills, textile bleaching and dyeing facilities, mining and quarries, battery manufacturing units, nuclear power plants, organic chemical production sites, leather and tannery operations, iron and steel manufacturing plants, soap and detergent industries, electric power plants, metal refining facilities, pesticide and biocide manufacturing sites, petroleum and petrochemical refineries, pharmaceutical manufacturing units, metal processing facilities, and electroplating industries. Together, these diverse sectors play a significant role in introducing metal pollutants into wastewater [9].

Though present in trace amounts in wastewater, chromium, nickel, cadmium, lead, copper, mercury and other heavy metals, pose health and environmental risks due to their toxicity and persistence. Resisting metabolic breakdown, they accumulate in soft tissues, causing severe health hazards. Their non-biodegradable nature heightens concerns about lasting environmental impact, emphasizing the critical need for efficient wastewater treatment to mitigate harm to ecosystems. Hexavalent chromium has been demonstrated to exhibit mutagenic and carcinogenic properties in both humans and animals. The widespread industrial use of hexavalent chromium, coupled with its high toxicity and mobility, has led to its infamy in the realm of environmental pollution [30]. Hexavalent chromium exists as H2CrO4, HCrO4, CrO42− and Cr2O72− in the aqueous solution [20]. As outlined by the Central Pollution Control Board (CPCB) and the U.S. Environmental Protection Agency (USEPA), acceptable concentrations of hexavalent chromium in effluents are set at 0.01 mg/L for potable water and 0.1 mg/L for industrial effluents [19]. At elevated concentrations, divalent nickel, while non-toxic in low amounts, has been linked to health issues such as contact dermatitis, cardiovascular diseases, respiratory tract cancer, kidney diseases, and lung fibrosis. The World Health Organization (WHO) has set the maximum allowable level of nickel in drinking water at 0.02 mg/L [18].

A variety of methods such as chemical precipitation, solvent extraction, ion exchange, advanced oxidation, flocculation, electrochemical treatment, electrodialysis, membrane filtration, reverse osmosis, and adsorption have been reported in the separation of heavy metal ions [31]. Many of the aforementioned metal ion removal methods suffer from significant drawbacks. One primary issue is the substantial generation of sludge during treatment, posing challenges in both handling and disposal. Furthermore, the effectiveness of these methods is compromised, particularly in removing metal ions at low concentrations. This limitation is crucial as many industrial effluents and contaminated water sources contain trace amounts of metal ions that may go unaddressed. Additionally, these methods often demand high energy inputs, contributing to elevated operational costs and environmental concerns. The overall operational and maintenance costs associated with these methods are also high, making them less economically viable. Perhaps most concerning is the lack of sustainability in these approaches, raising questions about their long-term environmental impact. Considering these drawbacks, there is a pressing need to explore and develop alternative methods that offer more efficient and sustainable solutions for metal ion removal. Adsorption proves to be a highly advantageous alternative, primarily owing to its operational flexibility, cost-effectiveness, and capability to achieve a high-efficiency process for generating treated effluents of superior quality. Furthermore, its efficacy extends to addressing a diverse range of target contaminants, making it a versatile and reliable method in the realm of water treatment [7].

Researchers are actively working on the creation of cost-efficient and highly effective adsorbents for wastewater treatment, with biochar emerging as a notable contender in this regard. Biochar, a porous carbonaceous substance, is formed through the thermochemical breakdown of biomass feedstock, often in the absence of oxygen. Biomass feedstock encompasses various organic waste materials such as crop residues, wood chips, algae, sewage sludge, manures, and organic municipal solid wastes. The appeal of biochar lies in its dual advantages: firstly, the production of biochar can serve to counteract greenhouse gas emissions by securely storing carbon, thus preventing the release of these gases into the atmosphere during biomass degradation. Secondly, biochar stands out as an efficient, cost-effective, and environmentally friendly adsorbent, attributed to its sizable surface area and plentiful surface functional groups [29]. Biochar derived from rice husk possesses significant potential as an adsorbent for the removal of heavy metal ions. This potential stems from the abundant floristic fiber in rice husk, coupled with the presence of various functional groups like hydroxyl, carboxyl, and amidogen. These inherent characteristics make the process of adsorption highly feasible. Furthermore, biochar produced from rice husk has been documented to exhibit diverse functions and is recognized as a cost-effective material for this purpose [21].

Nanomaterials are frequently integrated into biochar due to their ability to enhance surface area, high-affinity adsorption sites, thermal stability, and cation exchange capacity [24]. Magnetic spinel ferrites have gained significant popularity for the removal of hazardous contaminants from water in recent years. The spinel crystal structure is characterized by the AB2O4 formula, where A and B represent cations in tetrahedral and octahedral sites, respectively. An added advantage of these ferrites is their ease of removal from the aqueous environment through the application of a magnetic field [26].

The primary objective of this research is to assess the adsorption capabilities of biochar derived from rice husk, specifically focusing on a modified biochar. This modified biochar is utilized for adsorbing chromium and nickel ions, with potential applications in wastewater treatment. What sets this study apart is that while previous research has explored the adsorption abilities of rice husk biochar [8], no investigations have yet examined the potential of the MgFe2O4 rice husk biochar nanocomposite. The novelty lies in investigating the unexplored potential of the MgFe2O4 rice husk biochar nanocomposite. No prior studies have examined its effectiveness in heavy metal adsorption. This research is the first to explore its capabilities, opening doors for a potentially more efficient and selective adsorbent compared to traditional biochar. The study meticulously investigates the impact of various factors—such as concentration, time, and temperature—on the adsorption process, contributing to the field’s understanding of this novel material.

2 Materials and methods

2.1 Procurement of materials

Magnesium Sulphate (99% Purity, Molecular Weight 246.48 g mol-1), Ferric Chloride Hexahydrate (99% Purity, Molecular Weight 270.33 g mol-1), Ammonia Buffer solution, Ethanol (99% Purity, Molecular Weight 35.05 g mol-1), Hydrochloric acid (99% Purity, Molecular Weight 36.46 g mol-1), and Sodium Hydroxide (2.13 g cm-3, Molecular Weight 40 g mol-1) were obtained from Nice Chemicals Pvt. Ltd., and glassware was obtained from Borosil Pvt. Ltd. The rice husk was obtained from a nearby rice mill.

2.2 Preparation of biochar

In the process of biochar preparation, rice husk was chosen as biomass as shown in Fig. 1. The optimal temperature and duration for pyrolysis were determined through multiple trials. Pyrolysis was carried out at 400℃ for 30 min using a muffle furnace equipped with a mounted vent condenser. The resulting biochar exhibited a reduction in weight due to the vaporization of all organic volatiles present in the biomass as shown in Fig. 1.

Fig. 1
figure 1

(a) Powdered Rice Husk (b) Powdered Rice Husk Biochar

2.3 Preparation of MgFe (Magnesium Ferrite)

To prepare MgFe, 2.5 g of magnesium sulfate and 5.4 g of ferric chloride hexahydrate were dissolved in 100 ml of distilled water as shown in Fig. 2. The solution was subjected to magnetic stirring for 30 min at a temperature within the range of 60–70 °C and a stirring speed of 580–600 rpm. Subsequently, 30 mL of ammonia solution was added drop by drop over 40 min. The pH of the solution, initially at 12, was adjusted to 7 during this process. The resulting mixture was then dried in a hot air oven for 24 h, yielding approximately 2 g of MgFe. For further enhancement, the MgFe was subjected to calcination in a muffle furnace for 4 h at 500 °C to optimize its properties for adsorption studies.

Fig. 2
figure 2

Preparation of MgFe Nanoparticles

2.4 Preparation of B-MgFe-BC (Biochar-Magnesium Ferrite composite before calcination) and B-MgFe-AC (Biochar-Magnesium Ferrite composite after calcination)

For the preparation of the B-MgFe-BC, a conical flask was employed to combine 2.5 g of magnesium sulfate, 5.4 g of ferric chloride hexahydrate, and 0.5 g of biochar in 100 ml of distilled water as shown in Fig. 3. A magnetic pellet was introduced into the mixture and stirred using a magnetic stirrer operating at a speed of 580–600 rpm within a temperature range of 60–70 °C. After a 30-minute interval, ammonia solution was gradually added over 40 min. Following the stirring process, the magnetic pellet was removed, and the mixture was allowed to settle. Water washing was performed at intervals of 15–20 min until the pH of the mixture decreased from 12 to 7. Upon reaching a pH of 7, ethanol washing was carried out to remove impurities present in the mixture. Subsequently, the mixture was dried in a hot air oven for approximately 24 h, resulting in the obtainment of around 2.5 g of the B-MgFe-BC. To further enhance its properties for adsorption studies, the B-MgFe-BC underwent calcination in a muffle furnace for 4 h at 500°C.

Fig. 3
figure 3

Preparation of B-MgFe-BC Composites

2.5 Characterization

The synthesized adsorbents, MgFe-BC, MgFe-AC, B-MgFe-BC, and B-MgFe-AC, composed of magnetite nanoparticles, underwent a detailed characterization using multiple analytical techniques to elucidate their structural and chemical attributes. The samples were characterized by several instruments. Functional group analysis was attained by Fourier transform infrared spectrometer (FTIR, Nexus 470, Nicolet, USA) between wavelengths of 400–5000 cm− 1 with 32 scans at room temperature and a resolution of 4 cm− 1. The morphological properties were obtained by field emission scanning electron microscopy (SEM, EDS, Hitachi 5V5000, Hitachi Hi-Tech Co., Ltd.) at the voltage of 5 kV and 15 kV. Thermogravimetric curves were obtained by the thermogravimetric analyzer (TGA, SDT Q600, TA Instrument) at a 10 ºC·min− 1 heating rate in the range from 20 ºC to 800 ºC in the 100 mL·min− 1 atmosphere of nitrogen. The specific surface properties were examined by the Specific surface area analyzer (BET, ASAP 2460, McMuritik, USA).

2.6 Batch experiments

A stock solution of hexavalent chromium at a concentration of 1000 ppm was prepared by dissolving 2.8 g of potassium dichromate in 1000 ml of demineralized water at room temperature using a standard measuring flask. Similarly, a 1000 ppm solution of bivalent nickel was created by dissolving 4.5 g of nickel Sulfate hexahydrate in 1000 ml of demineralized water, also at room temperature and in a standard measuring flask. All batch studies conducted in this research were executed in a benchtop incubator shaker operating at 150 rpm.

To identify the most promising adsorbent, we initially compared five candidates: Biochar, MgFe-BC, MgFe-AC, B-MgFe-BC, and B-MgFe-AC. Based on this screening, B-MgFe-BC was chosen for further investigation due to its superior adsorption potential. This in-depth analysis allows for a more refined understanding of B-MgFe-BC’s efficacy and paves the way for future optimization. Various chromium and nickel solutions (50–500 ppm) were prepared to study concentration effects, including mixed solutions. The experiment monitored adsorption efficiency over 120 min (10-minute intervals) and also at different temperatures (room temperature to 60 °C) using 0.5 g of adsorbent. Atomic absorption spectrometry (AAS) quantified the remaining Cr(VI) and Ni(II) ions. The values of the limit of detection (LoD) of chromium and nickel are 0.0001 and 0.0004 mg/L respectively. On the other hand, the limits of quantitation (LoQ) for chromium and nickel are 0.001 and 0.005 mg/L respectively.

Assessment of adsorption efficiency involved calculating the percentage difference between initial and final solution concentrations, divided by the initial solution concentration and then multiplied by one hundred. Adsorption capacity determination was achieved by calculating the difference between initial and final solution concentrations, dividing by the mass of the adsorbent in grams, and multiplying by the volume of the solution expressed in liters. Concentration values were reported in milligrams per liter (mg/L), while adsorption capacity was expressed in milligrams per gram (mg/g) [12].

For understanding reaction kinetics, kinetic models were formulated using data obtained from batch experiments. Equilibrium for adsorption and adsorption capacity was explored through isotherms, including Langmuir, Freundlich, Temkin and Dubinin-Radushkevich isotherms, and thermodynamic studies were conducted to discern whether the removal process was endothermic or exothermic. The adsorbent’s reusability was confirmed through regeneration studies. Desorption experiments, using NaOH and HCl as the eluting agent, provided insights into the adsorption mechanism by evaluating the potential of both physical and chemical adsorption. The efficiency of desorption was calculated by determining the ratio of released metal ion concentration to initially sorbed metal ion concentration, multiplied by a hundred.

3 Results and discussion

3.1 Characterization

3.1.1 Identification of the functional groups

The FTIR spectra of the four adsorbents, namely MgFe-BC, MgFe-AC, B-MgFe-BC, and B-MgFe-AC, exhibit distinctive features as shown in Fig. 4. In the FTIR spectrum of MgFe-BC, a relatively weak adsorption band at 441.35 cm− 1 indicates the stretching vibration of the M-O bond at octahedral sites, while a robust line at 692.47 cm− 1 is attributed to the M-O stretching vibration at tetrahedral sites. The faint peak at 1643.87 cm− 1 results from the O-H bending vibration mode, indicating the presence of both free and absorbed water. A strong peak at 1102 cm− 1 corresponds to the stretching vibration of the C-O bond, and a medium adsorption band at 1368 cm− 1 represents the bending vibration of the C-H bond. In the FTIR spectrum of MgFe-AC, the same bonds found in MgFe-BC are present. The O-H bending vibration mode is observed at 1644.06 cm− 1, and the strong bending vibration of the C-O bond has shifted to 1004.77 cm− 1. Two prominent adsorption bands at 579 cm− 1 and 449.78 cm− 1 indicate the stretching vibration of the M-O bond at tetrahedral and octahedral sites, respectively, supporting the confirmation of the spinel structure of the MgFe adsorbent.

The FTIR spectra of B-MgFe-BC reveal adsorption peaks similar to MgFe-BC, with peaks at 1645.41 cm− 1 and 1367.19 cm− 1 corresponding to the O-H bond’s bending vibration and C-H bond’s bending vibration respectively. At 1007.26 cm− 1, the bending vibration of the C-O bond is indicated. Peaks at 688.45 cm− 1 and 438.84 cm− 1 correspond to the stretching vibration of the M-O bond at tetrahedral and octahedral sites, respectively. The presence of a peak at 465.02 cm− 1 suggests a SiO2 bond and a band at 715 cm− 1 indicates the presence of a C-H bond.

Similarly, the FTIR spectra of B-MgFe-AC display adsorption peaks akin to those found in MgFe-AC. The O-H bending vibration at 1644.47 cm− 1 mirrors B-MgFe-AC and the robust C-O band is found at 1003 cm− 1. Two significant adsorption bands at 585 cm− 1 and 448.20 cm− 1 indicate high-frequency stretching vibrations of the M-O bond at tetrahedral and low-frequency M-O stretching vibrations at octahedral sites, affirming the spinel structure of MgFe.

In all four adsorbents, MgFe-BC, MgFe-AC, B-MgFe-BC, and B-MgFe-AC, distinct bands in the high-frequency range (650 –530 cm− 1) and low-frequency range (446 –400 cm− 1) are observed. The higher frequency band is attributed to the stretching intrinsic vibration of the spinel unit cell in the tetrahedral site, while the lower band is caused by the stretching vibration of metal-oxygen in the octahedral (B) site, characteristic of the spinel structure of MgFe. [14].

Fig. 4
figure 4

FTIR spectra MgFe-BC, MgFe-AC, B-MgFe-BC, B-MgFe-AC and Biochar

The FTIR spectra of B-MgFe-AC and B-MgFe-BC were compared with the FTIR spectrum of biochar, as depicted in Fig. 4. In the biochar spectrum, the 1,701 cm− 1 band was assigned to the carboxyl group (C = O), the 1,600 cm− 1 band corresponded to the stretching vibration of C = C in aromatic groups, and the 795 cm− 1 band confirmed the vibration of the aromatic C-H bond. The aromatic structure is thought to generate π-electrons capable of forming strong bonds with heavy metal ions. Additionally, the biochar FTIR spectra displayed a significant band at 1,072 cm− 1, associated with the vibration of Si-O-Si, and a band at 462.05 cm− 1, suggesting the presence of a SiO2 bond. The presence of these identical bonds in B-MgFe-AC and B-MgFe-BC suggests the successful integration of biochar with MgFe, maintaining the integrity of the biochar matrix without altering its primary functional groups [25].

FTIR analysis of the adsorbent revealed the identification of functional groups, each playing a vital role in the capture of chromium and nickel ions. Carboxyl groups (C = O) attract and exchange ions on the adsorbent surface while C = C groups, depending on their arrangement, can create a weak but helpful interaction with the metal ions through a pi-electron cloud. While C-H groups don’t directly bind the metals, they influence the overall hydrophobicity (water repellency) of the adsorbent, which can be crucial for selective adsorption. The presence of silica, indicated by the Si-O-Si bond, is a common feature in many adsorbents. Silica provides structural stability and a larger surface area - both essential for efficient adsorption. Additionally, O-H groups participate in hydrogen bonding with the metal ions, offering another avenue for capture. C-O bonds, depending on their specific context (alcohols, ethers, etc.), can contribute to hydrogen bonding or influence the overall surface chemistry, playing a more subtle role. The most significant finding, however, is the M-O bond. This suggests the presence of metal oxides on the adsorbent surface, acting as highly effective binding sites for strong interaction with chromium and nickel ions. Furthermore, the intensity of each peak in the FTIR spectrum revealed the relative abundance of these functional groups, providing valuable insights into their contribution to the overall adsorption mechanism. By understanding these functionalities, we can gain a deeper understanding of how the adsorbent captures and holds onto these metal ions.

3.1.2 Thermogravimetric analysis

The experimental Thermogravimetric Analysis (TGA) findings are depicted in Fig. 5(a) for biochar, MgFe-AC, and B-MgFe-BC. These visual representations showcase the weight loss profiles and the derivative weight loss (DTG) of the specimens, all subjected to temperature variations from 30 °C to 800 °C (Fig. 5(b)). Within this temperature range, two prominent phases of mass reduction emerge consistently across all examined samples, namely MgFe-AC and B-MgFe-BC. The initial phase is attributed to the volatilization of water and certain gases adsorbed on the surface. The subsequent phase is linked to the disintegration of organic matter. Notably, the absence of mass loss and the presence of a plateau region beyond 650 °C suggest the decomposition of spinel ferrite into other compounds like α–Fe2O3 and MgO. This transformation is indicated in the TGA profiles, underscoring the intricate thermal behavior of the studied materials. [6]. The amount of solid residue of B-MgFe-BC and MgFe-AC left after 800 °C was 34.7% and 29.31% respectively. The initial weight loss observed in biochar occurs at temperatures below 108 °C and is attributed to the evaporation of moisture content. The presence of moisture in the biochar samples is indicative of the material’s hygroscopic nature. The subsequent substantial weight loss can be attributed to the expulsion of volatile components, leading to an increase in the proportion of fixed carbon in the biochar. This phenomenon is associated with the thermal breakdown of carbohydrates within the biochar at elevated temperatures during thermogravimetric analysis [4] The biochar showed an overall weight loss of 60.55% at 800 °C.

Thermogravimetric analysis (TGA) played a key role in understanding the interplay between the adsorbent’s functional groups and its effectiveness at higher temperatures. These functional groups, like carboxyl groups (C = O) and hydroxyl groups (O-H), are crucial for capturing target pollutants through ion exchange and hydrogen bonding. By pinpointing the decomposition temperatures of these functionalities through TGA, we can anticipate potential limitations of the adsorbent. This knowledge is instrumental in optimizing operating conditions to ensure the adsorbent’s optimal performance and longevity at elevated temperatures.

Fig. 5
figure 5

a) Weight loss profiles and b) DTG for B-MgFe-BC, MgFe-AC and biochar

3.1.3 Study of surface morphology

The investigation into biochar, B-MgFe-BC, and MgFe-AC involved a thorough examination of their morphological traits as shown in Fig. 6. Upon close examination of the SEM image of biochar, it is discernible that the pyrolysis process has not only induced porous structures but has also contributed to their intricate development. The uniformity and integrity of these pores are notably enhanced due to the simultaneous pyrolysis of lignin in rice husks along with hemicellulose. Furthermore, the surface roughness observed can be attributed to the volatilization of water and the gradual decomposition of hemicellulose, providing additional insights into the material’s structural evolution [32].

In contrast, the SEM image of MgFe-AC showcased distinct areas of agglomeration, a phenomenon arising from the inherent interaction among magnetic nanoparticles. This observation aligns with the common tendency of nanoparticles, particularly in nanocrystalline spinel ferrites, to exhibit a propensity for aggregation [11]. Examining the SEM image of B-MgFe-BC, a unique feature becomes evident—the agglomerated MgFe-BC particles are intricately attached to the surface of biochar. This distinctive configuration in the composite material underscores the interplay between MgFe-BC and biochar, contributing to the overall morphology of B-MgFe-BC. Although B-MgFe-BC contains MgFe agglomerates, their size is demonstrably smaller compared to those found in MgFe-AC. This significant disparity in size plays a crucial role in explaining the higher surface area observed in B-MgFe-BC. Smaller agglomerates create a more dispersed network within the material, maximizing the available surface area for interaction. In contrast, larger agglomerates in MgFe-AC likely pack more densely, resulting in a reduced overall surface area accessible for adsorption.

Examination by scanning electron microscopy (SEM) revealed the morphological and microstructural characteristics of the various adsorbents. These observations likely contribute to the superior performance of B-MgFe-AC in removing chromium and nickel ions.

Fig. 6
figure 6

SEM images of (a-c) biochar (d-f) MgFe-AC (g-i) B-MgFe-BC

3.1.4 Surface analysis

The N2 adsorption analysis highlights a significant BET surface area of 151.319 m²/g for B-MgFe-BC. Additionally, Barrett–Joyner–Halenda (BJH) analysis of pore characteristics indicates an average pore diameter of 1.5365 nm and a total pore volume of 0.17 cm³/g. These findings affirm the microporous nature of B-MgFe-BC, characterized by pores with sizes less than 2 nm.

Similarly, the N2 adsorption analysis reveals a substantial BET surface area of 91.375 m²/g for MgFe-AC. BJH analysis of pore characteristics indicates an average pore diameter of 1.54 nm and a total pore volume of 0.37 cm³/g. These results also establish MgFe-AC’s microporous structure, featuring pores with sizes less than 2 nm.

Adsorption isotherm models, by taking into consideration both the equilibrium data and the adsorption properties, describe the interaction mechanisms of pollutants and adsorbent materials. It is evident from Fig. 7(a) and Fig. 7(b) that the isotherm for B-MgFe-BC and MgFe-AC can be classified as Type II. When dealing with the adsorption isotherm of Type II, determining a suitable model involves recognizing specific curve characteristics. In this scenario, the curve signifies multi-anchorage adsorption and displays negative concavity, indicating that the parameter “n” is less than unity at low concentrations. Additionally, at higher concentrations, there is a noticeable divergence in the adsorbed quantity, suggestive of a condensation phenomenon. Consequently, the nature of this behavior aligns with a multilayer model, as the occupation number encompasses a continuum from zero to infinity, signifying the potential for multiple adsorption layers [16].

The Type II isotherm characterizes the adsorption behavior on mesoporous monolayer materials at low pressure and on mesoporous multilayer materials at high pressure, particularly approaching saturation, without displaying hysteresis. It exhibits a single inflection point and is observed exclusively in microporous, nonporous, or dispersed solids with pore diameters exceeding 50 nm [1].

Fig. 7
figure 7

BET Isotherm plot for Nitrogen adsorption capacity of (a) B-MgFe-BC and (b) MgFe

3.1.5 Particle size analysis

The results of the particle size analysis reveal distinctive characteristics among biochar, the B-MgFe-BC, and MgFe-AC as shown in Fig. 8(a), (b) and (c) respectively. The Z average for biochar is measured at approximately 172 nm, while B-MgFe-BC exhibits a significantly larger particle size with a Z average of 355 nm. In contrast, MgFe-AC showcases a comparatively larger Z average of 500 nm. This indicates that the particle size of biochar is smaller than that of both MgFe-AC and B-MgFe-BC. Notably, the MgFe-AC stands out with the highest Z average, signifying a larger average particle size compared to the other materials. These findings are crucial for understanding the size distribution of particles in each material, offering insights into their potential applications and properties in various fields.

Fig. 8
figure 8

Particle size analysis of (a) biochar (b) B-MgFe-BC (c) MgFe-AC

3.2 Batch adsorption experiments

3.2.1 pH influence on nickel and chromium adsorption

To investigate the impact of pH on the adsorption of nickel and chromium by B-MgFe-BC, we examined the adsorption capacity and efficiency under varying pH conditions in the solution. The addition of 0.6 gm of B-MgFe-BC to the solution was kept constant while maintaining a temperature of 60 °C and a contact time of 120 min. The initial concentration of nickel or chromium ions in the solution was 50 ppm.

As illustrated in Fig. 9, the uptake of nickel ions exhibited a noticeable trend with changing pH values in the aqueous solution. It increased from 90% at pH 1 to 96.6% at pH 6, and then slightly decreased to 96.4% as the pH further increased to 8. Concurrently, the amount of nickel ions removed per gram of B-MgFe-BC demonstrated a similar pattern, rising from 3.75 mg/g at pH 1 to 4.01 mg/g at pH 6, and then decreasing marginally to 4.025 mg/g.

This observed behavior can be elucidated by considering the chemical interactions between the ions in the aqueous solution and the functional groups present on the adsorbent’s surface. At lower pH levels, there is a competition between hydrogen ions and nickel metal ions for the active adsorption sites. As the pH increases, the adsorption surface becomes less positively charged, thereby enhancing the electrostatic attraction between the metal ions and the B-MgFe-BC surface. The peak adsorption efficiency around neutral pH suggests a significant interaction of Ni2+, Ni (OH)+, and Ni (OH)2 with the functional groups on the adsorbent’s surface. A slight decline in adsorption at higher pH values is attributed to the formation of soluble hydroxyl complexes. These species undergo adsorption on the B-MgFe-BC surface through an ion exchange mechanism or by forming hydrogen bonding with the functional groups, explaining the nuanced pH-dependent adsorption behavior [23].

As depicted in Fig. 9, the adsorption of chromium ions displayed a discernible pattern as pH values in the aqueous solution varied. It declined from 97% at pH 1 to 88.6% at pH 8. Simultaneously, the quantity of chromium ions removed per gram of B-MgFe-BC exhibited a comparable trend, decreasing from 4.04 mg/g at pH 1 to 3.69 mg/g at pH 8.

Hexavalent chromium exists in different chemical forms in aqueous solutions, including HCrO4, Cr2O72−, and CrO4. The stability of these forms is closely tied to the pH of the system. In acidic conditions, chromium ions primarily take on the form of Hydrogen Chromate (HCrO4-), a negatively charged species that forms bonds with the positively charged surface of B-MgFe-BC. The removal efficiency is notably enhanced in acidic environments due to the robust oxidation and reduction reactions, leading to more effective elimination. Consequently, adsorption efficiency experiences a significant increase under acidic conditions. However, as the pH of the solution gradually increases, chromium undergoes a transformation towards CrO42- and Cr2O72-. The heightened concentration of OH- ions leads to increased competitive adsorption between OH- and these negatively charged species, inhibiting their adsorption. Consequently, under acidic conditions, the adsorption efficiency surpasses that observed under alkaline conditions. The decrease in efficiency can also be attributed to the fact that, as pH increases, the adsorption surface becomes less positively charged, diminishing the electrostatic attraction between the negatively charged species and the B-MgFe-BC surface [13].

Fig. 9
figure 9

Influence of pH on the adsorption of (a)-(b) nickel and (c)-(d) chromium ions

To determine the ideal operating pH for B-MgFe-BC, we measured its point of zero charge (pHpzc). This is the pH at which the adsorbent surface has no net electrical charge. The experiment involved treating B-MgFe-BC with a salt solution (NaCl) at various pH levels (between 1 and 8) achieved using acid (0.1 M HCl) and base (0.1 M NaOH). After shaking the mixtures for 24 h, the change in pH (ΔpH) was measured. Plotting this ΔpH against the initial pH revealed the pHpzc at the point where the curve crosses the x-axis. In this case, the pHpzc was estimated to be 4.1 (as shown in Fig. 10). This value is crucial because it determines the surface charge of B-MgFe-BC. When the solution pH is lower than the pHpzc (pH < 4.1), the adsorbent surface becomes positively charged. This positive charge is favorable for attracting and adsorbing negatively charged chromate ions at lower pH values. However, it has the opposite effect on positively charged nickel ions, as electrostatic repulsion hinders their adsorption.

Fig. 10
figure 10

Determination of the pH of zero point of charge (pHZPC)

3.2.2 Influence of initial chromium and nickel Ion concentrations and isothermal modeling

The adsorption properties of B-MgFe-BC (a blend of biochar and magnesium ferrite before calcination) are notably affected by the concentration of nickel and chromium ions present in the aqueous state. The investigation involved manipulating initial concentrations, specifically at 50, 100, 200, 300, 400 and 500 ppm of nickel and chromium ions. The testing was conducted at a temperature of 60 °C, incorporating 0.6 gm of B-MgFe-BC into the solution, and ensuring a consistent contact time of 120 min.

As portrayed in Fig. 11, it is clear that the efficacy of the B-MgFe-BC in removing nickel ions experiences a marginal rise, moving from 99.36 to 99.79% as the concentration at the outset elevates from 50 ppm to 200 ppm. Subsequently, a sharp decline in the removal rate is observed, reaching 92.87% at an initial concentration of 500 ppm, which is still considered satisfactory. Contrarily, the adsorption capability displayed an almost linear advancement, initiating at 4.14 mg/g with a starting concentration of 50 ppm nickel ions, and peaking at 38.69 mg/g with an initial concentration of 500 ppm nickel ions.

As depicted in Fig. 11, an analogous trend is evident when examining variations in the concentration of chromium ions in the solution at the outset. The marginal uptick in adsorption efficiency, moving from 99.3 to 99.8%, corresponds to an increase in the initial concentration from 50 ppm to 200 ppm. Following this, a pronounced decrease in the removal rate is noted, reaching 92.9% at an initial concentration of 500 ppm, which remains within acceptable limits. Conversely, the adsorption capacity demonstrates an almost linear advancement. It initiates at 4.13 mg/g with a 50-ppm initial concentration of chromium ions and peaks at 38.69 mg/g with an initial concentration of chromium ions at 500 ppm.

Fig. 11
figure 11

Influence of initial concentration on the adsorption of (a)-(b) nickel and (c)-(d) chromium ions

These findings underscore the dependence of the adsorption process on the initial concentration of chromium or nickel in the solution. Moreover, it is evident that adsorption efficiency diminishes, with an increase in the concentration of nickel and chromium at the outset. This phenomenon occurs due to the surplus of functional groups and active adsorption sites on the surface of B-MgFe-BC when the amount of chromium and nickel at the outset is low. Consequently, B-MgFe-BC exhibits heightened adsorption efficiency, rapidly adsorbing a substantial quantity of metal ions. The decline in the removal percentage at elevated concentrations could be ascribed to the saturation of adsorption sites on the adsorbents. The proportion of the accessible surface to the initial concentration of metal ions decreases. This saturation, consequently, results in a greater number of chromium or nickel ions remaining unadsorbed in the aqueous state, owing to heightened competition among ions for the limited binding sites available. (Bansal et al., 2009).

The heightened adsorption capacity can be ascribed to an increased rate of mass transfer driven by a higher concentration gradient. When the amount of nickel and chromium ions at the outset is modest, external surface adsorption points are initially occupied. However, with a rise in concentration, the B-MgFe-BC’s concentration gradient amplifies, facilitating the migration of metal ions to the internal channels for removal. This utilization of additional adsorption sites corresponds to an increased adsorbent quantity in tandem with the heightened initial concentration (Yang et al., 2018).

An isotherm illustrates the connection that the concentrations of heavy metal ions at equilibrium in the aqueous solution have with the corresponding adsorption capacity on the surface of B-MgFe-BC at a specific temperature. Its characteristics are contingent upon factors such as the heavy metal ions adsorbed, the nature of nickel and chromium and B-MgFe-BC, and the physical properties of the aqueous state, encompassing pH, ion concentration, and temperature [28]. To glean an understanding of the adsorption mechanism involving heavy metal ions and B-MgFe-BC, we applied the Langmuir, Freundlich, Temkin and Dubinin-Radushkevich isotherm equations (S1, S2, S3, and S4 respectively) to fit the equilibrium adsorption data of heavy metal ions.

The isotherm plots for nickel and chromium are available in Fig. 12(a) and (b) respectively.

Fig. 12
figure 12

A) a) Langmuir b) Freundlich c)Temkin and d) Dubinin-Radushkevich Isotherm plots for nickel ion adsorption

Fig. 12
figure 13

B) a) Langmuir b) Freundlich c)Temkin and d) Dubinin-Radushkevich Isotherm plots for chromium ion adsorption

The isotherm constants for nickel and chromium adsorption are given in Table 1.

Table 1 Isotherm constants for various models

It is evident that Temkin Isotherm showed a better fit for the adsorption of nickel as well as chromium ions. According to this isotherm, the heat of adsorption is expected to exhibit a linear decrease, accompanied by a uniform distribution of binding energies, until reaching a maximum binding energy. The Temkin isotherm values suggest that the adsorption process took place through physisorption. The bonding energy, which was less than 8 kJ mol− 1, further supports the conclusion that the mechanism involved in adsorption is physical in nature. In physisorption, the adsorbates attach to the adsorbent through weak van der Waals interactions, leading to relatively low adsorption energies in this process [5]. The monolayer adsorption capacity was found to be 54.05 mg/g for nickel adsorption and 50.00 mg/g for chromium adsorption. Additionally, the mean free energy of adsorption from the Dubinin-Radushkevich (D-R) plot for both nickel and chromium adsorption is less than 8 kJ/mol, another indicator of a physical adsorption mechanism. Analysis of the Freundlich isotherm reveals a parameter value (n) between 0 and 10, suggesting favorable adsorption conditions. These results suggest that the material has a high affinity for both nickel and chromium ions. The adsorption capacity values are comparable, indicating that the material can effectively adsorb similar amounts of both metals.

3.2.3 Effect of initial concentration in binary metal ion solution

The investigation delved into the simultaneous adsorption dynamics of chromium and nickel ions in binary mixtures, employing a range of initial concentrations for both elements in the solution. The findings, as depicted in the accompanying Fig. 13, unveil intriguing trends. Notably, as the initial concentrations of nickel and chromium ions elevate from 50 ppm to 500 ppm, the equilibrium uptake of nickel ions exhibits remarkable constancy. In contrast, the equilibrium removal of chromium experiences a notable and precipitous decline.

Upon closer examination, it becomes evident that the adsorption behavior of the B-MgFe-BC material is distinctly influenced by the interplay between nickel and chromium ions. The adsorption of nickel ions per gram of B-MgFe-BC and chromium ions both exhibit an upward trajectory with escalating initial concentrations. However, a nuanced observation reveals that the equilibrium removal percentage of chromium ions witnesses a substantial drop at higher concentrations. This decline is attributed to the saturation of binding sites on B-MgFe-BC, primarily due to the intensified adsorption of nickel ions.

The heightened affinity of the adsorbent towards nickel ions is underscored by this phenomenon. The ratio of available surface area to the initial metal ion concentration diminishes as nickel ions saturate binding sites, leading to heightened competition among ions for the limited available spaces. Consequently, a greater number of chromium ions remain unadsorbed in the solution.

The increased adsorption capacity as shown in Fig. 13 is rationalized by an augmented rate of mass transfer, driven by a steeper concentration gradient. In scenarios where the initial concentration of heavy metal ions is modest, external surface adsorption points are preferentially occupied. However, as the concentration rises, the concentration gradient of B-MgFe-BC intensifies, facilitating the migration of metal ions into internal channels for removal. This utilization of additional adsorption sites corresponds to a proportional increase in the quantity of adsorbent, aligning with the heightened initial concentration. The intricate interplay between concentration dynamics, surface saturation, and competition for binding sites thus orchestrates the nuanced adsorption phenomena observed in this binary system.

Fig. 13
figure 14

Influence of initial concentration on (a) Adsorption Efficiency and (b) Adsorption Capacity

3.2.4 Investigating the influence of contact time and kinetic studies

Optimal contact time is imperative for maximizing the efficiency of the adsorption process. The influence of contact time on adsorption dynamics was examined by varying the duration from 0 to 120 min at 10-minute intervals. The initial concentration of heavy metal ions remained at 50 ppm, while the temperature was held constant at 60 °C, and the adsorbent dosage was 0.6 g.

The B-MgFe-BC’s effectiveness in removing nickel ions escalates with an extended contact time until equilibrium is achieved. Starting at a 10-minute contact time, the adsorption efficiency stood at 55%, ultimately reaching an equilibrium value of 70.5% after 100 min. The quantity of adsorbate adsorbed per gram of the B-MgFe-BC experienced a gradual increase, initiating at 2.29 mg/g at 10 min and stabilizing at 2.93 mg/g by the 120th minute as shown in Fig. 14.

Fig. 14
figure 15

Influence of contact time on adsorption of (a)-(b) nickel and (c)-(d) chromium ions

A parallel trend was discerned in the interaction between the B-MgFe-BC and chromium. The B-MgFe-BC’s capacity to remove chromium ions rises with prolonged contact time until reaching a saturation limit. At a 10-minute contact time, the adsorption efficiency reached 79%, culminating in an equilibrium value of 86.6% after 120 min. The adsorption capacity of B-MgFe-BC also exhibited a marginal increase, commencing at 3.29 mg/g at 10 min and stabilizing at 3.6 mg/g after 120 min as shown in Fig. 14.

The obtained results indicate that achieving adsorption equilibrium for both heavy metal ions takes no more than 100 min. This concise duration underscores the robust affinity of B-MgFe-BC for metal ions in aqueous solutions. The findings propose a conceptualization of the adsorption process in three distinct stages. Initially, there is a rapid removal of chromium and nickel ions, driven by an accentuated concentration gradient at the interface between the B-MgFe-BC and aqueous solution. This facilitates a vigorous interaction, expediting the movement of chromium from the solution to the surface of B-MgFe-BC. Concurrently, the profusion of adsorption sites on the adsorbent enables a swift increase in the adsorbed quantity of chromium and nickel ions. Transitioning into the secondary adsorption stage, the pool of available surface adsorption sites on the B-MgFe-BC gradually diminishes. This reduction results in a corresponding decline in the concentration gradient of nickel and chromium ions at the interface, mitigating repulsive interactions. Consequently, the adsorption rate decelerates, and the adsorption capacity for chromium and nickel ions experiences a more gradual upsurge. After 100 min in the process of adsorption, the reservoir of available sites of adsorption on the B-MgFe-BC approaches saturation. At this juncture, further attempts to enhance the adsorption capacity encounter challenges, and the system attains a state of adsorption equilibrium. [22].

Exploring the kinetics of adsorption offers valuable insights into the pace of adsorption, the efficacy of the selected adsorbent, and the underlying mechanisms governing mass transfer. This information plays a pivotal role in the formulation of efficient adsorption systems. The adsorption mass transfer kinetic process involves three primary stages. In the initial phase, external diffusion takes place as the nickel and chromium ions move through the liquid film surrounding B-MgFe-BC. External diffusion is driven by the concentration gradient between the bulk solution and the surface of B-MgFe-BC. Subsequently, the second stage encompasses internal diffusion, outlining the migration of the nickel and chromium ions within the pores of B-MgFe-BC. Finally, the third stage involves the adsorption of the ions onto the active sites of B-MgFe-BC. Diverse kinetic models, such as the Pseudo first-order and Pseudo second-order kinetic models, have been formulated to scrutinize and comprehend these intricate processes (S5 and S6) [27].

The linear plots for both nickel and chromium adsorption are depicted in Fig. 15.

Fig. 15
figure 16

Kinetic model of the adsorption of (a)-(b) nickel and (c)-(d) chromium ions

The second-order kinetic model demonstrated a correlation coefficient close to unity, indicating the suitability of this model in describing the adsorption process. The first-order kinetic model assumes that the adsorption process occurs through a first-order reaction mechanism, where the rate of adsorption is directly proportional to the number of unoccupied sites on the adsorbent surface. In contrast, the pseudo-second-order model suggests that the rate of adsorption is influenced by the square of the number of adsorbate species on the surface, resulting in a non-linear relationship between adsorbate uptake and time. Additionally, the calculated 𝑞𝑒 value of 3.02 mg/g, obtained from the pseudo-second-order kinetics, closely matched the experimental value of 4.14 mg/g for nickel adsorption. Similarly, the computed 𝑞𝑒 value of 4.45 mg/g, derived from the pseudo-second-order kinetics, closely corresponded to the experimental value of 4.13 mg/g for chromium adsorption.

3.2.5 Investigating temperature influence and thermodynamic aspects

The solution temperature is a relevant operating parameter that affects the transport and kinetic processes of heavy metal ion adsorption. Hence the effect of temperature on adsorption was studied by varying the temperature to 30 °C,40 °C, 50 °C and 60 °C. The initial concentration of heavy metal ions remained at 50 ppm, while the adsorbent dosage was 0.6 g with a contact time of 120 min.

The ability of the adsorbent to effectively remove nickel ions increased from 64 to 98% when the temperature of the solution was raised. The adsorption capacity of the B-MgFe-BC also showed a similar trend having a value of 2.66 mg/g at 30 °C to 4.11 mg/g at 60 °C as shown in Fig. 16.

Fig. 16
figure 17

Influence of Temperature on the adsorption of (a)-(b) nickel and (c)-(d) chromium ions

The efficacy of the adsorbent in efficiently eliminating chromium ions demonstrated a consistent pattern, escalating from 88.6 to 96.87% with an elevation in the solution temperature. Likewise, the adsorption capacity of B-MgFe-BC exhibited a parallel trend, registering a value of 3.69 mg/g at 30 °C and increasing to 4.03 mg/g at 60 °C as shown in Fig. 16.

Certainly, the observed rise in adsorption capacity with an increase in temperature is a consequence of the endothermic nature of the adsorption process, steering the adsorption equilibrium towards stronger adsorption [15]. This augmentation in adsorption capacity is intricately linked to the non-uniformity of the adsorbent, indicative of variations in the active energy of adsorption sites. At lower temperatures, sites with lower active energy are initially preferred, and as the temperature climbs, sites with higher active energy become increasingly occupied.

The heightened adsorption capacity at elevated temperatures can be explained by two key factors. Firstly, the increased kinetic energy of the B-MgFe-BC results in more frequent collisions between the B-MgFe-BC and heavy metal ions, thereby enhancing the adsorption process onto the absorbent’s surface. Secondly, elevated temperatures induce greater breakage in bonds of functional groups at the adsorbent’s surface, amplifying the accessibility of active adsorption sites. This substantiates an overall improvement in adsorption.

Hence, the temperature elevation exerts a beneficial influence by modulating the energy states of adsorption sites and augmenting the kinetic interactions of the B-MgFe-BC with heavy metal ions. The non-uniformity of the adsorbent plays a crucial role in this phenomenon, with temperature acting as a catalyst in optimizing the occupation of adsorption sites with varying active energies [28].

Determining thermodynamic parameters is crucial for understanding the energetics of an adsorption process. These parameters, including changes in Gibbs’ free energy (∆G°), enthalpy (∆H°), and entropy (∆S°), provide insights into whether the adsorption is feasible and shed light on its nature, whether it involves heat absorption (endothermic) or release (exothermic).

The process of calculating these thermodynamic parameters involves applying specific equations to experimental data. The Gibbs’ free energy change is a key indicator of spontaneity, with negative values suggesting a spontaneous process. The enthalpy change reveals information about the heat exchange during adsorption, indicating whether it is an exothermic or endothermic reaction. Lastly, the entropy change reflects the disorder or randomness associated with the adsorption process.

The determination of these thermodynamic parameters from the experimental data was carried out utilizing the following equations:

$$\:\text{ln}\,{K}_{c}\:=\frac{\varDelta\:S^\circ\:}{R}-\frac{\varDelta\:H^\circ\:}{RT}$$
$$\:\varDelta\:G^\circ\:=-RT\,\text{ln}{K}_{c}$$
$$\:\varDelta\:G^\circ\:=\varDelta\:H^\circ\:-T\varDelta\:S^\circ\:\:$$

The equilibrium constant Kc can be obtained, and the values for the standard enthalpy change Δ𝐻∘ in kilojoules per mole (kJ/mol) were obtained from the slope while the standard entropy change Δ𝑆∘ in kilojoules per mole per Kelvin (kJ/mol K) was obtained from the intercept of the plot of the natural logarithm of Kc against the reciprocal of temperature as shown in Fig. 17 [17].

Fig. 17
figure 18

Van’t Hoff plot of the adsorption of (a) nickel and (b) chromium ions

The thermodynamic parameters for nickel and chromium adsorption are given below in Table 2,

Table 2 Thermodynamic parameters

In the adsorption of both nickel and chromium ions by the adsorbent, a positive change in enthalpy was observed. This implies that the adsorption process is endothermic, explaining the heightened adsorption capacity and efficiency with an increase in temperature. The negative sign of the Gibbs free energy values further indicates that the adsorption is both feasible and spontaneous. Additionally, the positive value of the entropy change suggests an increased level of randomness in the adsorption process.

3.2.6 Regeneration and reusability

Desorption studies were conducted to check the reusability of B-MgFe-BC. It is evident from batch studies that B-MgFe-BC demonstrates maximum adsorption of nickel ions under alkaline conditions while it shows maximum removal of chromium ions under acidic conditions. For this reason, NaOH was employed to study the desorption after the adsorption of chromium ions onto the surface of B-MgFe-BC while HCl was used to study the desorption after the adsorption of nickel ions.

The observed Fig. 18 demonstrates a direct correlation between the concentration of HCl and the desorption efficiency, showcasing an increase from 78 to 82%. This rise can be attributed to the displacement of nickel ions by H+ ions derived from sulfuric acid. The rationale behind this lies in the higher electronegativity of H+ ions compared to nickel ions. Essentially, this suggests that the adsorption of nickel by B-MgFe-BC is driven by electrostatic interactions, where the more electronegative H + ions replace nickel ions during the desorption process [10].

Fig. 18
figure 19

Desorption efficiency for (a) nickel and (b) chromium ions

It is evident from Fig. 18 that with an increase in concentration of NaOH, the desorption efficiency also increases from 87 to 90%. As the pH of the solution gradually increases, chromium undergoes a transformation towards CrO42- and Cr2O72-. The heightened concentration of OH- ions leads to increased competitive adsorption between OH- and these negatively charged species at the active sites of adsorption.

3.2.7 Mechanism of adsorption

B-MgFe-BC exhibits an adsorption mechanism for chromium ions analogous to the lock-and-key principle. Under acidic conditions, chromium primarily exists as negatively charged hydrogen chromate (HCrO4-), facilitating electrostatic interactions with the positively charged surface of B-MgFe-BC. At lower pH values, the abundance of hydrogen ions (H+) on the B-MgFe-BC surface promotes site-specific binding between the biomass functional groups and chromate anions. These chromate ions preferentially bind to active sites within the gelatin component due to their optimal size and compatibility. The encapsulation process is further enhanced by the smaller size of Cr(VI), leading to the effective capture of hexavalent chromium. Once encapsulated within the B-MgFe-BC matrix, these chromium ions migrate toward the core, where they interact with the iron centers. This interaction facilitates the reduction of hexavalent chromium (Cr(VI)) to trivalent chromium (Cr(III)). Due to its larger size, Cr(III) exhibits a weaker affinity for the active sites within the gelatin compared to Cr(VI). This weakened interaction allows Cr(III) to be desorbed from the B-MgFe-BC upon encountering hydroxide anions (OH-), forming chromium hydroxide (Cr(OH)3) which is subsequently washed away. This process effectively removes chromium ions from the surrounding solution [2].

At lower pH values, competition ensues between hydrogen ions (H+) and nickel cations (Ni²⁺) for the coveted adsorption sites on B-MgFe-BC. This competition arises due to the positively charged nature of both the surface and H + ions. As the pH increases, the surface becomes progressively less positively charged. This creates a more favorable environment for electrostatic attraction between the negatively charged B-MgFe-BC surface and the positively charged nickel ions (Ni²⁺). The observed peak adsorption efficiency around neutral pH suggests a strong interaction between multiple nickel species and the B-MgFe-BC functional groups. These species likely include Ni²⁺, nickel hydroxide cations (NiOH⁺), and even nickel dihydroxide (Ni(OH)₂) due to their prevalence at this pH range. This highlights the synergistic effect of various nickel forms contributing to the overall adsorption process. However, a slight decline in adsorption is observed at even higher pH values. This can be attributed to the formation of soluble nickel hydroxyl complexes. These complexes have a reduced affinity for the B-MgFe-BC surface compared to their free ionic counterparts. Their adsorption likely occurs through secondary mechanisms such as ion exchange with surface cations or hydrogen bonding with the functional groups. This delicate interplay between electrostatic attraction, competing ions, and the formation of various nickel species dictates the nuanced pH-dependent adsorption behavior observed for nickel ions on B-MgFe-BC [23].

4 Conclusion

In this extensive investigation, B-MgFe-BC was strategically employed to evaluate its effectiveness in the removal of nickel and chromium ions from solutions. Valuable insights from Fourier Transform Infrared (FTIR) analysis revealed the presence of functional groups associated with biochar, alongside the identification of M-O bonds, indicating the successful integration of MgFe into the biochar matrix. Subsequent characterizations deepened our understanding of these functional groups within the synthesized MgFe. Further analyses were conducted to validate the formation of MgFe and ascertain their interaction with the polymer matrix. Moreover, the scanning electron microscopy (SEM) examination of B-MgFe-BC unveiled a biochar matrix onto which the agglomerated MgFe-AC is attached. In-depth particle size analysis disclosed B-MgFe-BC stands out with the highest Z average, signifying a larger average particle size compared to the other materials, while BET analysis underscored a substantial surface area, suggesting that the adsorbent B-MgFe-BC is microporous in nature and has greater surface area when compared to MgFe-AC. These characteristics significantly enhance its suitability for studies in adsorption. Exploring batch adsorption studies, the emphasis was on the removal of chromium and nickel ions, revealing rapid kinetics with an efficiency greater than 70% by the 110-minute mark. The second-order kinetic model demonstrated a correlation coefficient approaching unity, highlighting the reliability of the observed kinetics. Systematic exploration of various process parameters provided a comprehensive understanding of the removal process.

The Temkin isotherm emerged as the most suitable description for the adsorption process, emphasizing the precision of the modeling. Temperature studies revealed that the adsorption of both nickel and chromium is endothermic, with peak efficiency noted at 60 °C, indicating a robust affinity between metal ions and the adsorbent. Desorption studies for chromium ions, employing a 0.5 N NaOH solution, resulted in a 90% removal, while for nickel ions 0.5 N HCl resulted in 82% removal, shedding light on the potential for regeneration. Crucially, the synthesis process embraced environmentally friendly methodologies, minimizing the use of toxic chemicals and incorporating cost-effective, magnetically separable properties as well as using biodegradable rice husk. In conclusion, the developed B-MgFe-BC emerges as a promising solution, showcasing robust adsorption properties and offering a compelling alternative for the efficient as well as sustainable elimination of chromium ions from aqueous solutions.