Castor Leaves-Based Biochar for Adsorption of Safranin from Textile Wastewater

: The prospect of synthesizing biochar from agricultural wastes or by-products to utilize them as a promising adsorbent material is increasingly gaining attention. This research work focuses on synthesizing biochar from castor biomass (CBM) and evaluating its potential as an adsorbent material. Castor biomass-based biochar (CBCs) prepared by the slow pyrolysis process at different temperatures (CBC400 ◦ C, CBC500 ◦ C, and CBC600 ◦ C for 1 h) was investigated for the adsorption of textile dye efﬂuents (safranin). The pyrolysis temperature played a key role in enhancing the morphology, and the crystallinity of the biochar which are beneﬁcial for the uptake of safranin. The CBC600 adsorbent showed a higher safranin dye removal (99.60%) and adsorption capacity (4.98 mg/g) than CBC500 (90.50% and 4.52 mg/g), CBC400 (83.90% and 4.20 mg/g), and castor biomass (CBM) (64.40% and 3.22 mg/g). Adsorption data ﬁtted better to the Langmuir isotherm model than to the Freundlich isotherm model. The kinetics of the adsorption process was described well using the pseudo-second-order kinetic model. The study on the effect of the contact time for the adsorption process indicated that for CBC600, 80% dye removal occurred in the ﬁrst 15 min of the contact time. After three regeneration cycles, CBC600 exhibited the highest dye removal efﬁciency (64.10%), highlighting the enhanced reusability of CBCs. The crystalline patterns, functional binding sites, and surface areas of the prepared CBCs (CBC400, CBC500, CBC600) were characterized by X-ray diffraction, Fourier transform infrared spectroscopy, and Brunauer–Emmett–Teller surface area measurements, respectively. of the pyrolysis temperature on the adsorption capacity of adsorbents. Moreover, the adsorption data were examined with various adsorption isotherm models and kinetic models. Adsorbent characterization was performed to determine the inﬂuence of the pyrolysis temperature on the morphology, crystallinity, surface area, and presence of functional groups.


Introduction
Rapid population growth and industrialization have led to an increase in energy demands and environmental problems and reduced clean water sources [1,2]. The use of chemicals for various processes in industry and effluents from such industries are posing massive threats to public health and are contributing to the increased shortage of potable water [3]. Industries using dyes during production (e.g., clothes, printing, food, and paper industries) discharge enormous amounts of dyes annually; approximately 2.8 × 10 5 tons

Collection and Pretreatment of Castor Biomass
Castor biomass (CBM) was procured from the rural areas of Rahim Yar Khan District, Pakistan, and washed with distilled water to remove the suspended impurities. The biomass was dried overnight in an oven at 80 • C followed by crushing and grinding to pass through a 100 mesh sieve (US Tyler) to obtain a uniform particle size of 150 µm.

Preparation of Biochar
The pyrolysis of CBM was conducted in a fixed bed reactor to produce biochar at the desired pyrolysis temperatures of 400 • C, 500 • C, and 600 • C. The biomass residence time was maintained for 1 h, and the heating rate was 20 • C/min for all experiments [29]. A stream of pure N 2 gas (1000 mL/min) was passed through the reactor to provide an inert environment during the pyrolysis process. After the experiments were complete, the residues were left in the system to cool down to ambient temperature. The prepared biochars were then ground and sieved to achieve a particle size in the range of 0.075-0.710 mm and were dried overnight at 80 • C.

Characterization of CBCs
The CBCs were characterized using a range of techniques. X-ray diffraction (XRD, Panaytical X' pert pro) was performed to investigate the crystallinity. The presence of various functional groups in the adsorbent samples was examined by Fourier transform infrared (FTIR, Thermo-Nicolet 6700) spectroscopy. The surface area and pore size of the CBCs were measured using the Brunauer-Emmet-Teller (BET) method. The N 2 adsorption/desorption on the surface of the adsorbent samples was measured at 77 K. The pH drift method was followed to determine the point zero charge (PZC), as reported elsewhere [23].

Preparation of the Dye Solution
Safranin dye (basic dye, C 20 H 19 ClN 4 , and molar mass 350.85 g/mole, Sigma Aldrich, Darmstadt Germany was procured and used. A 1000 mg sample of safranin dye was dissolved in 1 L of distilled water to prepare a stock solution of 1000 ppm. The stock solution was diluted to the desired concentrations. A UV-visible spectrophotometer was used to measure the absorbance of safranin dye at λ = 518 nm [11]. Figure 1 presents the safranin structure.
Sustainability 2021, 13, x FOR PEER REVIEW 3 of 19 pyrolysis temperature on the morphology, crystallinity, surface area, and presence of functional groups.

Collection and Pretreatment of Castor Biomass
Castor biomass (CBM) was procured from the rural areas of Rahim Yar Khan District, Pakistan, and washed with distilled water to remove the suspended impurities. The biomass was dried overnight in an oven at 80 °C followed by crushing and grinding to pass through a 100 mesh sieve (US Tyler) to obtain a uniform particle size of 150 μm.

Preparation of Biochar
The pyrolysis of CBM was conducted in a fixed bed reactor to produce biochar at the desired pyrolysis temperatures of 400 °C, 500 °C, and 600 °C. The biomass residence time was maintained for 1 h, and the heating rate was 20 °C/min for all experiments [29]. A stream of pure N2 gas (1000 mL/min) was passed through the reactor to provide an inert environment during the pyrolysis process. After the experiments were complete, the residues were left in the system to cool down to ambient temperature. The prepared biochars were then ground and sieved to achieve a particle size in the range of 0.075-0.710 mm and were dried overnight at 80 °C.

Characterization of CBCs
The CBCs were characterized using a range of techniques. X-ray diffraction (XRD, Panaytical X' pert pro) was performed to investigate the crystallinity. The presence of various functional groups in the adsorbent samples was examined by Fourier transform infrared (FTIR, Thermo-Nicolet 6700) spectroscopy. The surface area and pore size of the CBCs were measured using the Brunauer-Emmet-Teller (BET) method. The N2 adsorption/desorption on the surface of the adsorbent samples was measured at 77 K. The pH drift method was followed to determine the point zero charge (PZC), as reported elsewhere [23].

Preparation of the Dye Solution
Safranin dye (basic dye, C20H19ClN4, and molar mass 350.85 g/mole, Sigma Aldrich, Darmstadt Germany was procured and used. A 1000 mg sample of safranin dye was dissolved in 1 L of distilled water to prepare a stock solution of 1000 ppm. The stock solution was diluted to the desired concentrations. A UV-visible spectrophotometer was used to measure the absorbance of safranin dye at λ = 518 nm [11]. Figure 1 presents the safranin structure.

Experimental Setup Design
The adsorption experiments were conducted in batch mode to study the uptake of safranin dye on the prepared biochar-based adsorbents. The effects of various parameters

Experimental Setup Design
The adsorption experiments were conducted in batch mode to study the uptake of safranin dye on the prepared biochar-based adsorbents. The effects of various parameters on the adsorption capacity were investigated using the one factor-one time approach, including pH (2-10), contact time (5-240 min), initial dye concentration (1-100 mg/L), and adsorbent dose (0.05, 0.10, 0.15, 0.20, and 0.25 g) at room temperature conditions [30]. In each experimental run, 100 mg of adsorbent was placed in 100 mL of a dye solution in an Erlenmeyer flask. The solution was shaken on an orbital shaker (SK-O330-Pro) at 200 rpm for 4 h to achieve equilibrium between the adsorbate and adsorbent. The adsorbent particles were separated using a centrifuge (CFM-1723, Sajid Engineering Works) at 3600 rpm for 10 min [31]. The absorbance of the supernatant samples was determined using a UV-visible spectrophotometer (Peak Instruments C-7200S) at a wavelength of 518 nm. The dye removal (%) and adsorption capacities of the CBCs were determined using the final concentration of safranin in an aqueous solution. Equations (1) and (2) were used to determine the dye removal (%) and adsorption capacities, respectively [32,33].
where R represents the dye removal (%); Ce (mg/L) and C 0 (mg/L) refer to the dye concentration at equilibrium and the initial dye concentration, respectively; q (mg/g), V (L), and W (g) are the adsorption capacity, volume of dye solution, and adsorbent mass, respectively. The adsorption kinetics was studied to determine the rate-limiting step. This task was performed by finding the safranin adsorption rate as a function of time. The amount of safranin adsorbed at any time q t (mg/g) was calculated using Equation (3) [28].
where C t (mg/L) is the concentration of dye at any time t.

Point of Zero Charge
The pH drift method was used to determine the point of zero charge for all adsorbents. Briefly, each 100 mL conical flask was filled with 20 mL of different pH solutions from pH 2 to 11. The initial pH (pH 0 ) of the conical flasks was adjusted by the stepwise addition of 0.1 M HCl or NaOH solutions. A 0.10 g sample of the adsorbents was added to each conical flask and shaken for 24 h to maintain the pH of the solution. The supernatant of the solution was used to measure the final pH (pH f ). The change in pH (∆pH) was calculated using Equation (4) [23]. A graph of pH 0 vs. ∆pH was plotted, as shown in Figure 2. The pH at a point of zero charge (pH PZC ) was determined at the inflection point. The pHpzc point for the CBC adsorbent was found at approximately pH 6, and pH 5 for CBM.

BET and Microscopic Analysis
The surface area and pore size of CBCs and CBM were analyzed using the BET apparatus. The BET results indicate that the pyrolysis temperature has a strong influence on the surface area of the adsorbent. As described in Table 1, the surface area increased

BET and Microscopic Analysis
The surface area and pore size of CBCs and CBM were analyzed using the BET apparatus. The BET results indicate that the pyrolysis temperature has a strong influence on the surface area of the adsorbent. As described in Table 1, the surface area increased with increasing pyrolysis temperature. Therefore, CBC600 and CBC500 exhibited a higher surface area of 58.94 m 2 /g and 46.32 m 2 /g, respectively, compared to the adsorbents pyrolyzed at lower temperatures, as mentioned in Table 1. The application of a higher pyrolysis temperature and longer pyrolysis times resulted in biochars with a higher surface area and porosity [34]. An adsorbent with a higher surface area and porosity leads to a higher exposed area available for the adsorption of an adsorbate, providing more opportunities for the uptake of safranin dye [23,27]. Similar results were reported by Fazal et al. [23] for macroalgae and coal-based biochar synthesis. An increasing trend in the surface area with the shift in the pyrolysis temperature was observed.

XRD Analysis
XRD is useful for determining the crystallinity and morphological features regarding the pattern of adsorbents. The XRD pattern of the spent adsorbents was recorded in the 20 • -80 • 2θ range ( Figure 3). No sharp peaks were observed in the diffraction profiles, indicating the dominance of an amorphous structure. On the other hand, the peaks observed at 25.7 • , 25.9 • , 26 • , and 26.9 • 2θ revealed the presence of a crystalline carbonaceous structure, such as graphite [23,28]. Moreover, with increasing pyrolysis temperature, a shift in the peak for the graphite carbon structure was observed from 25.9 • to 26.9 • , showing that the higher pyrolysis temperature induced a well-formed graphite structure. A study on the influence of the temperature on the morphology of a cotton stalk during pyrolysis indicated that with increasing temperature, the conversion of an amorphous carbon structure to a graphite microcrystalline structure occurs [35]. temperature, a shift in the peak for the graphite carbon structure was observed from 25.9° to 26.9°, showing that the higher pyrolysis temperature induced a well-formed graphite structure. A study on the influence of the temperature on the morphology of a cotton stalk during pyrolysis indicated that with increasing temperature, the conversion of an amorphous carbon structure to a graphite microcrystalline structure occurs [35].

FTIR Spectrum
FTIR (Thermo-Nicolet 6700) spectroscopy was performed to determine the functional groups present in the CBM and CBC samples, as shown in Figure 4. The broader peaks of the stretching hydroxyl (O-H) groups appeared around 3200-3300 cm −1 for CBM and CBC400. The presence of the OH group can be attributed to the aldehydes, phenols, or alcoholic compounds present in CBM. On the other hand, with increasing pyrolysis temperature (>400 • C), the IR peaks related to the O-H stretching band disappeared from the spectrum for the CBC500 and CBC600 samples. The disappearance of these peaks indicates that the dehydration of biomass at higher temperatures will release larger amounts of water [35]. Similar results have been reported [21,35]. Similarly, the C-H stretching peak in the region of 2800-2900 cm −1 was observed for CBM and CBC400, but CBC500 and CBC600 exhibited no peak dedicated to the degradation of alkyl C-H bonds at such higher pyrolysis temperatures [35]. At pyrolysis temperatures higher than 400 • C, cellulose and hemicellulose degradation occurs in a more distinct manner [35]. The small peak at 1630 cm −1 in CBM and CBC400 was assigned to either carbonyl (C=O) group of ketones or aldehydes [36]. The bands at 1510-1530 cm −1 in CBM and CBC400 were attributed to the aromatic (C=C) vibrating groups [37], which break down at high pyrolysis temperatures in CBC500 and CBC600. The broader peaks in the range of 1380-1480 cm −1 for CBM and CBC400 indicate C-H deformation in the aromatic components of the samples and possibly due to the C=C vibration [38].

Effect of pH
The solution pH strongly influences the adsorption of dyes, which is dedicated to the surface charge of adsorbents and adsorbate properties [30,39]. Batch experiments were performed using a 0.1 g adsorbent dosage, 4 h contact time, and 5 mg/L initial safranin concentration. The adsorption of safranin dye on the CBC adsorbents has been well described by the point zero charge studies. The pHpzc of CBC was at pH 6 ( Figure 2). At this pH, the CBC surface was negatively charged. Below this pH, the surface of the adsorbent was positively charged. At a higher pH, the adsorption of positive safranin dye molecules increased and was favored electrostatically as the surface of the adsorbent became negatively charged. Similar trends for the increase in the adsorption capacity of adsorbents with increasing pH and the effect of pHpzc on adsorption have been reported [30,40,41]. Moreover, the surface charge of the CBCs becomes more negative with increasing pH, thereby reducing the repulsion between the CBCs and safranin dye ions and increasing the removal efficiency. Moreover, the strong competition for adsorption sites arises between the safranin positive ions and H + at a lower pH. At a higher pH, this competition decreases gradually due to the decrease in the H + ion concentration.
The CBC600 adsorption capacity (qe) increased from 3.83 to 4.91 mg/g compared to

Effect of pH
The solution pH strongly influences the adsorption of dyes, which is dedicated to the surface charge of adsorbents and adsorbate properties [30,39]. Batch experiments were performed using a 0.1 g adsorbent dosage, 4 h contact time, and 5 mg/L initial safranin concentration. The adsorption of safranin dye on the CBC adsorbents has been well described by the point zero charge studies. The pHpzc of CBC was at pH 6 ( Figure 2). At this pH, the CBC surface was negatively charged. Below this pH, the surface of the adsorbent was positively charged. At a higher pH, the adsorption of positive safranin dye molecules increased and was favored electrostatically as the surface of the adsorbent became negatively charged. Similar trends for the increase in the adsorption capacity of adsorbents with increasing pH and the effect of pHpzc on adsorption have been reported [30,40,41]. Moreover, the surface charge of the CBCs becomes more negative with increasing pH, thereby reducing the repulsion between the CBCs and safranin dye ions and increasing the Sustainability 2021, 13, 6926 7 of 18 removal efficiency. Moreover, the strong competition for adsorption sites arises between the safranin positive ions and H + at a lower pH. At a higher pH, this competition decreases gradually due to the decrease in the H + ion concentration.
The CBC600 adsorption capacity (q e ) increased from 3.83 to 4.91 mg/g compared to CBM, which increased from 2.12 to 3.24 mg/g, with a shift in the pH from 2 to 6 ( Figure 5b). This is dedicated to the lower electrostatic repulsion forces between the safranin molecules and adsorbents. CBM exhibited the lowest safranin removal of 42.4% at pH 2 and reached up to 64.9% at pH 6. The maximum removal efficiency was observed for CBC600 (98.20%), compared to the other CBCs (90.04% for CBC500, and 83.7% for CBC400 at pH 6) and reached 76.70% at pH 2.

Effect of Contact Time
The contact time is important for determining the adsorbate amount on a certain fixed adsorbent mass as a function of time [30]. Figure 6a,b show the effect of the contact time (5-240 min) on the dye removal (%) and adsorption capacity of adsorbents, respectively. A rapid increase in the dye removal (%) and adsorption capacity was observed at a starting time of 5-15 min (fast adsorption), which slowed down in 15-240 min (slow adsorption). CBC400, CBC500, and CBC600 exhibited high adsorption capacities at 90 min (3.47 mg/g, 4.04 mg/g, and 4.59 mg/g, respectively) compared to CBM, which exhibited 2.32 mg/g, and increased only slightly after 90 min. The results show that the equilibrium time for dye removal (%) was 120 min for CBC600, 120 min for CBC500, 150 min for CBC400, and 170 min for CBM. In 15 min, CBC600 exhibited approximately 80% dye removal. The adsorption of safranin in the fast adsorption stage will occur on the external surface of the CBC600 adsorbent with the mechanism of the boundary layer, and the higher adsorption will be due to the higher surface area [30,39].

Effect of Contact Time
The contact time is important for determining the adsorbate amount on a certain fixed adsorbent mass as a function of time [30]. Figure 6a,b show the effect of the contact time (5-240 min) on the dye removal (%) and adsorption capacity of adsorbents, respectively. A rapid increase in the dye removal (%) and adsorption capacity was observed at a starting time of 5-15 min (fast adsorption), which slowed down in 15-240 min (slow adsorption). CBC400, CBC500, and CBC600 exhibited high adsorption capacities at 90 min (3.47 mg/g, 4.04 mg/g, and 4.59 mg/g, respectively) compared to CBM, which exhibited 2.32 mg/g, and increased only slightly after 90 min. The results show that the equilibrium time for dye removal (%) was 120 min for CBC600, 120 min for CBC500, 150 min for CBC400, and 170 min for CBM. In 15 min, CBC600 exhibited approximately 80% dye removal. The adsorption of safranin in the fast adsorption stage will occur on the external surface of the CBC600 adsorbent with the mechanism of the boundary layer, and the higher adsorption will be due to the higher surface area [30,39]. The higher adsorption capacity and dye removal for CBC600 compared to the CBC500, CBC400, and CBM adsorbents were dedicated to the larger average pore size, pore volume, and surface area for CBC600, as shown in Table 1. A study on the adsorption of methyl orange (MO) on CuO and NiO nanoparticles provided a similar explanation for the higher adsorption capacity of NiO nanoparticles for MO adsorption than CuO nanoparticles. The higher adsorption capacity of NiO nanoparticles was dedicated to the higher surface area (78.4 m 2 /g) and pore volume (0.068 cm 3 /g) compared to CuO (6.19 m 2 /g and 0.028 cm 3 /g) [42]. A similar adsorption pattern exhibited by safranin dye in this study was reported in another study conducted on the uptake of green dye by red clay [30]. At later stages of adsorption, the adsorption sites were saturated, resulting in a lower removal efficiency. The repulsive forces start to operate between the two safranin molecules: one in the bulk phase and the other adsorbed on the surface of the adsorbent [39,43]. Another reason for the later slow adsorption phase was that the adsorbent needs to undergo a deeper morphology of the adsorbent. In this step, the molecular diffusion faces a higher resistance, giving rise to a second slower stage [39].

Effect of Initial Dye Concentration
Batch mode experiments (4 h, pH 6, 240 RPM shaking speed, and 0.1 g adsorbent dosage) were carried out to investigate the influence of the initial concentration of safranin dye (1-100 mg/L), as shown in Figure 7. The dye removal percentage decreased with increasing initial dye concentration, while an opposite trend was observed for the adsorption capacity. The adsorption capacity of CBC600 increased from 1.00 to 17.0 mg/g and dye removal (%) decreased from 99.8% to 17.0% with increasing dye concentration from 5 to 100 mg/L, as shown in Figure 7a,b. The dye adsorption capacity (qe) increased with increasing dye concentration because at an initial high dye concentration, there will The higher adsorption capacity and dye removal for CBC600 compared to the CBC500, CBC400, and CBM adsorbents were dedicated to the larger average pore size, pore volume, and surface area for CBC600, as shown in Table 1. A study on the adsorption of methyl orange (MO) on CuO and NiO nanoparticles provided a similar explanation for the higher adsorption capacity of NiO nanoparticles for MO adsorption than CuO nanoparticles. The higher adsorption capacity of NiO nanoparticles was dedicated to the higher surface area (78.4 m 2 /g) and pore volume (0.068 cm 3 /g) compared to CuO (6.19 m 2 /g and 0.028 cm 3 /g) [42]. A similar adsorption pattern exhibited by safranin dye in this study was reported in another study conducted on the uptake of green dye by red clay [30]. At later stages of adsorption, the adsorption sites were saturated, resulting in a lower removal efficiency. The repulsive forces start to operate between the two safranin molecules: one in the bulk phase and the other adsorbed on the surface of the adsorbent [39,43]. Another reason for the later slow adsorption phase was that the adsorbent needs to undergo a deeper morphology of the adsorbent. In this step, the molecular diffusion faces a higher resistance, giving rise to a second slower stage [39].

Effect of Initial Dye Concentration
Batch mode experiments (4 h, pH 6, 240 RPM shaking speed, and 0.1 g adsorbent dosage) were carried out to investigate the influence of the initial concentration of safranin dye (1-100 mg/L), as shown in Figure 7. The dye removal percentage decreased with increasing initial dye concentration, while an opposite trend was observed for the adsorption capacity. The adsorption capacity of CBC600 increased from 1.00 to 17.0 mg/g and dye removal (%) decreased from 99.8% to 17.0% with increasing dye concentration from 5 to 100 mg/L, as shown in Figure 7a,b. The dye adsorption capacity (q e ) increased with increasing dye concentration because at an initial high dye concentration, there will be a large number of dye molecules present for a fixed number of adsorbent sites [28]. An Sustainability 2021, 13, 6926 9 of 18 important parameter, the available surface area, appears to be an important link between the adsorbate concentration and adsorption capacity [23]. The higher available surface area in CBC600 played a major role in the higher adsorption capacity than other adsorbents. At an initial low concentration, safranin will adsorb onto the surface until equilibrium. A previous study reported that the adsorption sites in an adsorbent are fixed for a certain adsorbent mass [44]. Therefore, at high initial safranin concentrations, there will be unadsorbed dye molecules that are not adsorbed due to the lack of adsorption sites [23].
the adsorbate concentration and adsorption capacity [23]. The higher available surface area in CBC600 played a major role in the higher adsorption capacity than other adsorbents. At an initial low concentration, safranin will adsorb onto the surface until equilibrium. A previous study reported that the adsorption sites in an adsorbent are fixed for a certain adsorbent mass [44]. Therefore, at high initial safranin concentrations, there will be unadsorbed dye molecules that are not adsorbed due to the lack of adsorption sites [23].
High dye removal (%) was observed at low safranin dye concentrations (Figure 7a) because higher adsorption sites are available at low dye concentrations. On the other hand, the situation becomes interesting at high initial dye concentrations because the dye molecules will compete for a fixed number of sites, resulting in unadsorbed dye molecules present in the solution giving rise to a lower dye removal percentage at a high initial dye concentration [30]. Aroguz et al. [45] reported a similar trend for the dye removal percentage. Dye removal decreased from 68.3% to 47.5% as the methylene blue concentration was increased from 10 to 60 mg/L.

Effect of Adsorbent Dose
Proper selection of the adsorbent dosage has been considered to play an important role in controlling the adsorption process efficiency because it is related directly to the surface area and sites available for adsorption [30]. The influence of the adsorbent dose on the uptake of safranin dye adsorption was investigated using the initial dye concentration of 5 mg/L, contact time of 4 h, pH 6, and an adsorbent dose of 0.05 to 0.25 g. High dye removal (%) was observed at low safranin dye concentrations (Figure 7a) because higher adsorption sites are available at low dye concentrations. On the other hand, the situation becomes interesting at high initial dye concentrations because the dye molecules will compete for a fixed number of sites, resulting in unadsorbed dye molecules present in the solution giving rise to a lower dye removal percentage at a high initial dye concentration [30]. Aroguz et al. [45] reported a similar trend for the dye removal percentage. Dye removal decreased from 68.3% to 47.5% as the methylene blue concentration was increased from 10 to 60 mg/L.

Effect of Adsorbent Dose
Proper selection of the adsorbent dosage has been considered to play an important role in controlling the adsorption process efficiency because it is related directly to the surface area and sites available for adsorption [30]. The influence of the adsorbent dose on the uptake of safranin dye adsorption was investigated using the initial dye concentration of 5 mg/L, contact time of 4 h, pH 6, and an adsorbent dose of 0.05 to 0.25 g. A similar reverse trend was observed for the adsorbent dosage as in the case of the initial metal concentration for dye removal (%) and adsorption capacity (q e ). In this experiment, the dye molecule concentration was fixed. The adsorbent dosage was increased, and dye removal (%) remained relatively unchanged for adsorbent dosages of >0.1g. On the other hand, an increase in adsorption capacity was observed until an adsorbent dosage of 0.5 g and a sharp decrease in adsorption capacity occurred for dosages of >0.1 g. Dye removal was increased from 52.9% to 99.7% and the adsorption capacity decreased from 5.29 to 1.99 mg/g with increasing adsorbent dosage from 0.05 to 0.25 g, as shown in Figure 8. The experimental results indicate that Ce (equilibrium concentration) remained fixed for adsorbent dosages of >0.1 g, which explains the many unadsorbed sites with increasing adsorbent dosage. Therefore, dye removal remains the same after a certain dosage, and the adsorption capacity starts decreasing with increasing adsorbent dosage [30]. The decrease in adsorption capacity can also be linked to the remaining vacant adsorption sites after dye adsorption [46]. A similar reverse trend was observed for the adsorbent dosage as in the case of the initial metal concentration for dye removal (%) and adsorption capacity (qe). In this experiment, the dye molecule concentration was fixed. The adsorbent dosage was increased, and dye removal (%) remained relatively unchanged for adsorbent dosages of >0.1g. On the other hand, an increase in adsorption capacity was observed until an adsorbent dosage of 0.5 g and a sharp decrease in adsorption capacity occurred for dosages of >0.1 g. Dye removal was increased from 52.9% to 99.7% and the adsorption capacity decreased from 5.29 to 1.99 mg/g with increasing adsorbent dosage from 0.05 to 0.25 g, as shown in Figure 8. The experimental results indicate that Ce (equilibrium concentration) remained fixed for adsorbent dosages of >0.1 g, which explains the many unadsorbed sites with increasing adsorbent dosage. Therefore, dye removal remains the same after a certain dosage, and the adsorption capacity starts decreasing with increasing adsorbent dosage [30]. The decrease in adsorption capacity can also be linked to the remaining vacant adsorption sites after dye adsorption [46].

Adsorption Isotherms
The relationship between the amount of safranin dye present in bulk and adsorbed was investigated by considering the adsorption isotherm study. Dye concentrations ranging from 1 to 100 mg/L were employed to analyze the Langmuir and Freundlich isotherm models, as shown in Figure 9, at an initial pH of 6.0 and adsorbent dosage of 0.1 g. The monolayer adsorption capacity exhibited the following trend: CBC600 > CBC500 > CBC400 > CBM. CBC600 (17.1 mg/g), and CBC500 (13.4 mg/g) exhibited the maximum adsorbent capacity for the removal of dye molecules [47].
Isotherm study data were fitted in the Langmuir isotherm model equation:

Adsorption Isotherms
The relationship between the amount of safranin dye present in bulk and adsorbed was investigated by considering the adsorption isotherm study. Dye concentrations ranging from 1 to 100 mg/L were employed to analyze the Langmuir and Freundlich isotherm models, as shown in Figure 9, at an initial pH of 6.0 and adsorbent dosage of 0.1 g. The monolayer adsorption capacity exhibited the following trend: CBC600 > CBC500 > CBC400 > CBM. CBC600 (17.1 mg/g), and CBC500 (13.4 mg/g) exhibited the maximum adsorbent capacity for the removal of dye molecules [47]. Sustainability 2021, 13, x FOR PEER REVIEW 13 of 19   Isotherm study data were fitted in the Langmuir isotherm model equation: The linearized form of the equation is shown below: The calculation of the parameter in equation 5 was deduced from the slope and intercept of the linear equation, as shown in Table 2. q max and K L were obtained by plotting a graph of (C e /q e ) vs. (C e ), as shown in Figure 10, where C e (mg/L), q e (mg/g), (q max ), and (K L ) are the adsorbent equilibrium concentration, equilibrium adsorbent capacity, and maximum adsorbent uptake, indicating the site saturation, and the Langmuir constant. The equation quantitatively represents the attraction between the safranin dye components and the CBCs and considers that each safranin dye molecule is adsorbed at a single adsorbent site.    Another critical factor (R L ) was also calculated for the Langmuir isotherm, along with R 2 , using Equation (7): where C o is the safranin initial concentration (mg/L). (R L ) is a dimensionless separation factor characteristic of the Langmuir isotherm that is used to define the affinity between an adsorbent and adsorbate. The R L showed that the Langmuir isotherm is favorable if 0 < R L > 1, linear if R L = 1, unfavorable if R L > 1, and irreversible of R L = 0. The experimental data (Table 1) exhibited R L values of < 1 and > 0, suggesting that the CBCs are promising adsorbents for the adsorption processes. The Freundlich isotherm model presumes that adsorption is not restricted to the monolayer and considers multilayer adsorption to uptake metals and dyes. The linear form of the Freundlich equation is given as follows: ln q e = ln K F + 1 n ln C e (8) K F (mg/g) is the constant of the Freundlich isotherm, and n is a heterogeneity factor, representing the effect of the adsorption capacity and adsorption intensity. The values of these constants are determined by plotting a graph of ln q e vs. ln C e , as shown in Figure 11. The values in the isotherm for (n) showed the following: if n > 1, a favorable and physical process; n < 1, an unfavorable and chemical process; (n) = 1 is linear. Considering the Freundlich data, from the values of n, it is evident that the reaction/isotherm is favorable because n > 1 ( Table 2). The K F values further confirm the favorability of the safranin concentration on the CBC adsorbents. The Langmuir isotherm model for CBC600 (R 2 = 0.9905) and CBC500 (R 2 = 0.9903) was compatible for safranin adsorption because of a more homogeneous surface and monolayer formation compared to CBC600 (R 2 = 0.8844) and CBC500 (R 2 = 0.9642) for the Freundlich isotherm, as shown in Table 2. Sustainability 2021, 13, x FOR PEER REVIEW 14 of 19 Figure 11. Freundlich isotherm model for the adsorption of safranin on CBM and CBC adsorbents.

Adsorption Kinetics
The kinetics of safranin adsorption from aqueous solutions was determined for all the adsorbents by varying the agitation times, ranging from 1 to 240 min. Pseudo-firstorder (PFO), pseudo-second-order (PSO), and intra-particle diffusion (IPD) kinetic models were employed to understand the adsorption mechanism.
The Lagergren first-order rate constant (k1, min −1 ) in the PFO kinetic model is determined from a linear plot of ln (qe − qt) vs. (t), as shown in Figure 12, and the linear form of the Lagergren rate equation is described by equation 9 below [48]: where qt is the adsorption capacity of safranin (mg/g) at any time (t), and qe (mg/g) is the equilirbrium adsorption capacity. The values of the correlation coefficient (R 2 ) for different adsorbents are in the range of 0.936-0.9708, as descirbed in Table 3. The PSO kinetic model linear form described in equaiton 10 is based on the adsorption capacity of the solid phase [48]: k2 is the PSO rate constant (g/mg. min) and determined by plotting the graph of (t/qt) vs. time (t), a straight line, confirming that the adsorption followed the PSO model, as depicted in Figure 13, and showing a correlation coefficient close to unity (R 2 = 0.9624-0.9991) The intra-particle diffusion model is shown in mathematical form in equation 11 below [23]: where C (mg/g) is the boundary layer thickness, and kpi (mg/(g. min 1/2 )) is the IPD rate constant determined from the slope of the linear plot of (qt) vs. (t 0.5 ) (Figure 14), and correlation coefficients (R 2 ) for the IPD model are in the range between 0.7394 and 0.9839, as described in Table 3. The kinetic plots for the CBC adsorbents for different kinetic models indicate that correlation coefficients for the PSO kinetic models were above 0.99 and led to the

Adsorption Kinetics
The kinetics of safranin adsorption from aqueous solutions was determined for all the adsorbents by varying the agitation times, ranging from 1 to 240 min. Pseudo-first-order (PFO), pseudo-second-order (PSO), and intra-particle diffusion (IPD) kinetic models were employed to understand the adsorption mechanism.
The Lagergren first-order rate constant (k 1, min −1 ) in the PFO kinetic model is determined from a linear plot of ln (q e − q t ) vs. (t), as shown in Figure 12, and the linear form of the Lagergren rate equation is described by equation 9 below [48]: where q t is the adsorption capacity of safranin (mg/g) at any time (t), and q e (mg/g) is the equilirbrium adsorption capacity. The values of the correlation coefficient (R 2 ) for different adsorbents are in the range of 0.936-0.9708, as descirbed in Table 3. conclusion that safranin adsorption on CBC adsorbents obeys the pseudo-second-order kinetic model [49].    The PSO kinetic model linear form described in equaiton 10 is based on the adsorption capacity of the solid phase [48]: k 2 is the PSO rate constant (g/mg. min) and determined by plotting the graph of (t/q t ) vs. time (t), a straight line, confirming that the adsorption followed the PSO model, as depicted in Figure 13, and showing a correlation coefficient close to unity (R 2 = 0.9624-0.9991).
cle diffusion models.

Model
Parameters CBM CBC400 CBC500 CBC600    The intra-particle diffusion model is shown in mathematical form in Equation (11) below [23]: where C (mg/g) is the boundary layer thickness, and k pi (mg/(g. min 1/2 )) is the IPD rate constant determined from the slope of the linear plot of (q t ) vs. (t 0.5 ) (Figure 14), and correlation coefficients (R 2 ) for the IPD model are in the range between 0.7394 and 0.9839, as described in Table 3. Sustainability 2021, 13, x FOR PEER REVIEW 16 of 19 Figure 14. Intra-particle diffusion model for the adsorption of safranin on CBM and CBC adsorbents.

Adsorbent Regeneration
The spent adsorbents were regenerated with the application of HNO3 to produce more cost-effective and functional materials. After the regeneration cycles, safranin dye removal (%) for CBM, CBC400, CBC500, and CBC600 was reduced from 48.5% to 12.3%, 71.9% to 43.7%, 79.9% to 51.2%, and 83.6% to 65.1%, respectively, as shown in Figure 15. CBC reclamation showed physicochemical changes that ultimately enhanced the effect of safranin dye adsorption. Figure 15 shows that CBC600 and CBC500 exhibited a reversible adsorption process. This regenerative cycle indicates that CBC adsorbents can be regenerated and recycled for the uptake of safranin, and the adsorption cycle can be repeated many times.

Conclusions
In this paper, the ability of castor biomass-based biochar synthesized by slow pyrolysis to remove safranin dye from textile wastewater was investigated. The pyrolysis temperature was reported to be an essential parameter for synthesizing biochar adsorbents with excellent performance. Higher pyrolysis temperatures (600 °C) The kinetic plots for the CBC adsorbents for different kinetic models indicate that correlation coefficients for the PSO kinetic models were above 0.99 and led to the conclusion that safranin adsorption on CBC adsorbents obeys the pseudo-second-order kinetic model [49].

Adsorbent Regeneration
The spent adsorbents were regenerated with the application of HNO 3 to produce more cost-effective and functional materials. After the regeneration cycles, safranin dye removal (%) for CBM, CBC400, CBC500, and CBC600 was reduced from 48.5% to 12.3%, 71.9% to 43.7%, 79.9% to 51.2%, and 83.6% to 65.1%, respectively, as shown in Figure 15. CBC reclamation showed physicochemical changes that ultimately enhanced the effect of safranin dye adsorption. Figure 15 shows that CBC600 and CBC500 exhibited a reversible adsorption process. This regenerative cycle indicates that CBC adsorbents can be regenerated and recycled for the uptake of safranin, and the adsorption cycle can be repeated many times.

Adsorbent Regeneration
The spent adsorbents were regenerated with the application of HNO3 to produce more cost-effective and functional materials. After the regeneration cycles, safranin dye removal (%) for CBM, CBC400, CBC500, and CBC600 was reduced from 48.5% to 12.3%, 71.9% to 43.7%, 79.9% to 51.2%, and 83.6% to 65.1%, respectively, as shown in Figure 15. CBC reclamation showed physicochemical changes that ultimately enhanced the effect of safranin dye adsorption. Figure 15 shows that CBC600 and CBC500 exhibited a reversible adsorption process. This regenerative cycle indicates that CBC adsorbents can be regenerated and recycled for the uptake of safranin, and the adsorption cycle can be repeated many times.

Conclusions
In this paper, the ability of castor biomass-based biochar synthesized by slow pyrolysis to remove safranin dye from textile wastewater was investigated. The pyrolysis temperature was reported to be an essential parameter for synthesizing biochar adsorbents with excellent performance. Higher pyrolysis temperatures (600 °C)

Conclusions
In this paper, the ability of castor biomass-based biochar synthesized by slow pyrolysis to remove safranin dye from textile wastewater was investigated. The pyrolysis temperature was reported to be an essential parameter for synthesizing biochar adsorbents with excellent performance. Higher pyrolysis temperatures (600 • C) influenced biochar formation with a higher surface area, average pore size, and pore volume. The highest dye removal efficiency of CBC600 biochar observed was 99.6%, with an adsorption capacity of 4.98 mg/g. An analysis of the adsorption isotherms and adsorption kinetics showed that the experimental data were best fitted to the Langmuir isotherm model (R 2 = 0.9905) and PSO model (R 2 = 0.9991) for the adsorption of safranin on CBCs. The maximum monolayer adsorption capacity (q max ) was calculated to be 17.10 mg/g for CBC600 compared to the other adsorbents. After three regeneration cycles, the dye removal efficiency of CBC600 was 64.10%, which was high and better than the other castor leaf adsorbents studied. In conclusion, safranin dye from textiles can be removed efficiently from wastewater by applying a castor-based biochar adsorbent synthesized by slow pyrolysis at high temperatures.