1 Introduction

Environmental effluences ensuing as a result of the annihilation of the aquatic, terrestrial, and atmospheric ecosystems by the fast and aggressive increase in industrial activities and the global population are critical to the existence of man and other living organisms as well as the sustenance of the ecosystem [1,2,3,4,5,6,7,8,9,10]. According to several research reports, these environmental effluences have extremely affected the quality of water due to the untreated wastes being disposed of, released, or discharged into the aquatic environments, mostly by industries via the production processes of textiles, paper, leather, petroleum, and paint, as well as metal plating, mining, and other industrial production processes [11, 12], consequently, contributing immensely to climate change and global warming [13,14,15], health complications [16,17,18], food shortage (agricultural shortfall) [19,20,21], etc.

The majority of these industries that use dyes (cosmetics, textiles, paper, leather, and paint industries) have a high infecting trail, and it is projected that up to 2.00 × 105 tons of dyes are disposed of, released, or discharged into the aquatic environments owing to the ineffective wastewater management and treatment processes [22,23,24,25,26,27]. Amongst these toxic and aromatic effluents being disposed of, released, or discharged into the aquatic environments without preceding proper treatment, the cosmetics, textiles, paper, leather, and paint industries are major users of synthetic and toxic dyes, basically aimed at the coloring of their products [28,29,30].

The global dye market is currently valued at over 32 billion US dollars (USD) and is expected to reach 42 billion USD in 2021 [31]. Synthetic dyes are produced in excess of 7.00 × 105 tons per year, with approximately 15.00% of these synthetic dyes being released into water bodies (aquatic environments) [32]. These dyes are carcinogenic, toxic, and xenobiotic and they are divided into solvent, reactive, basic, vat, and direct dyes based on their chromophore structure. These synthetic dyes are exclusively decomposable in 47.00% of cases [28, 33]. Hence, dye has been considered one of the foremost sources of severe environmental pollution owing to the fast and aggressive industrial advancement and extensive utilization of its products [34,35,36].

Industrial effluents, instigated by the production processes of the cosmetics, textiles, paper, leather, and paint industries, are known to have a significant quantity of toxic aromatic dyes, mostly the thiazine cationic dyes such as methylene blue (MB) [37,38,39,40]. Notwithstanding the valuable uses of MB (C16H18ClN3S) in various scientific domains, the dye has detrimental effects on humans and other living organisms as well as the environment owing to its water solubility tendency [41, 42]. It is toxic, a mutagenic reagent, and is supposed to be a cancer-instigating dye [24]. The colored effluents disposed of, released, or discharged during the production processes of the cosmetics, textiles, paper, leather, and paint industries into the ecosystem are one of the predominant causes of the ensuing environmental pollution as well as awkwardness in the water bodies (aquatic environment) in particular [24, 29, 43, 44]. The MB is a characteristic industrial effluent, and it is one of the prevalent commercial thiazine and azo dyes [38, 39, 43, 45].

Also, MB dye is conceivably detrimental to human health and contributes to instigating chronic toxicity, mostly to the central nervous system [24]. The effluents and wastes generated by the cosmetics, textiles, paper, leather, and paint industries are highly colored, contain salt concentrations in high quantities, and have high biological oxygen demand as well as chemical oxygen demand values. As a result, removing MB dye and other toxic industrial waste is critical for a better and healthier environment and well-being [24, 29, 46]. For the removal of MB dye and other industrial effluents (generated by the cosmetics, textiles, paper, leather, and paint industries), a variety of effluents and waste treatment and management technologies has been investigated, including adsorption, electrochemical, ion exchange, photocatalysis, oxidation–reduction, membrane filtration, catalytic, and biological/organic treatment and processes [47,48,49,50,51]. Amongst the aforementioned removal and management technologies, adsorption seems to be the most economical and efficient technique, owing to its inexpensiveness, easy operational principle, and high effluent uptake capacities for the removal of dyes and other industrial effluents from wastewater [24, 48, 52].

Some industrial processes usually utilize activated carbon (AC) as an adsorbing reagent (biosorbent) due to its high absorbency as well as its specific surface area. However, due to its high production cost for regeneration tenacities, AC acquired from the market is usually expensive. Hence, the concept of using nanomaterials (NMs) as adsorbing reagents (biosorbents) is now gaining traction [53]. Though some NMs, such as carbon nanotubes, nano zerovalent iron, and titania nanotubes, are believed to be toxic and ineffective at removing dyes [48]. Several efforts have been made to mitigate these limitations via the preparation of the NMs from cellulose-based, tannin-based, and lignin-based sources, all of which have been proven to have massive potential for the adsorption and treatment of dyes and other industrial effluents, and they are considered affordable, easily accessible, biodegradable, and non-hazardous materials for the amputation of effluents in general as well as cationic MB dye in particular, from wastewater [3, 24, 54, 55]. Reportedly, these cellulose-based, tannin-based, and lignin-based adsorbing reagents (biosorbents) are derived from the cells of plants, mostly from agro-waste materials such as waste from watermelon, sugarcane, orange, wheat straw, maize, jackfruit, rice, mango, cloves, palm fruits, coconut, wood, and other agroforestry ingredients [3, 24, 48].

Therefore, formulating innovative, easily accessible, and non-hazardous adsorbing reagents (biosorbents) with high-uptake proficiencies is a contemporary and continuous global issue for the adsorption and treatment of dyes and other industrial effluents from wastewater. Hence, this present study emphasizes and re-explores the prospects of using a new, affordable, easily accessible, biodegradable, and non-hazardous adsorbing reagent (biosorbents) prepared from sawdust (SD) agro-waste materials for the production of SD ozone (SDO) biochar, purified SD (PSD) biochar, and sonicated SD (SSD) biochar. The preparation, characterization, and morphological studies as well as the application of these produced SDO, PSD, and SSD biochars for the adsorption and treatment of MB dye from wastewater were considered. The batch adsorption studies for the adsorption and treatment of MB dye from industrial toxic effluents were characterized, and the assessment of the optimization of the various adsorption factors and parameters was systematically considered. Also, the calculation of the adsorption rate isotherms, thermodynamics, and kinetics was essentially highlighted.

2 Materials and methods

2.1 Materials and equipment

Wood sawdust was collected from a local wood market in Alexandria, Egypt, and was used as a raw material for the preparation of biochar. The standard stock solution was made from MB dye (Assay 99%) obtained from Sigma-Aldrich, USA. Pg instrument model T80 UV/visible high-performance double beam spectrophotometer matched with glass cells of 1 cm optical path, Shaker [A JS shaker (JSOS-500)], and pH meter JENCO (6173) was used in this study. The adsorption–desorption isotherm of PSD, SDO, and SSD biochars was carried out in an N2 atmosphere based on a thermodynamic model. The PSD, SDO, and SSD biochars’ surface area was calculated by N2 adsorption at 77 K with the aid of a surface area and pore analyzer (BELSORP – Mini II, BEL Japan, Inc.) [56, 57]. Surface area (SBET) (m2/g), monolayer volume (Vm) (cm3 (STP), average pore diameter (MPD) (nm), total pore volume (p0/p0) (cm3/g), and energy constant (C) values of PSD, SDO, and SSD biochars were calculated using the graph (Fig. 1). The mesoporous surface area (Smes), microporous surface area (Smi), mesoporous volume (Vmes), and microporous volume (Vmi) of PSD, SDO, and SSD biochars were evaluated using the Barrett–Joyner–Halenda (BJH) method. The BELSORP analysis program software was used to perform the calculations. The pore size dispersion was also determined from the desorption isotherm using the BJH technique [58]. With the help of a scanning electron microscope (SEM), the shape of the biochars surface was investigated (QUANTA 250). The functional groups on the surface of biochars’ were studied using Fourier transform infrared (FTIR) spectroscopy (VERTEX70) connected with ATR unit model V-100. IR-observable functional groups on the PSD, SDO, and SSD biochars’ surface were detected in the wavenumber range of 400–4000 cm−1. Thermal analyses were carried out using the SDT650-Simultaneous Thermal Analyzer device at a temperature range of 50–1000 °C and a ramped temperature of 5 °C/min.

2.2 Methods

2.2.1 SD Biochar preparation

The collected sawdust was thoroughly washed with tap water several times to remove dust and subsequently dried in an oven at 70 °C for 72 h. A total of 500 g of wood sawdust in 2000 ml solution of 80.00% H2SO4 was boiled in a refluxed system at 220 °C for 2 h, and then, the samples were filtered and washed with distilled water until the washing solution become neutral followed by washing with ethanol. The final product of biochar was dried in an oven at 120 °C, and its weight was then determined (220 g). The obtained biochar from this reaction was labelled (SD).

2.2.2 SSD biochar preparation

The prepared (SD) biochar was suspended in water and subsequently subjected to ultrasonic energy (Elma, TRANSSONIC NIC T890H/Germany, High Frequency peak 600 W, 35 kHz) for 60 min for physical activation to take place. The sonicated solution was filtered and washed with distilled water and dried at 120 °C. The obtained sonicated sawdust biochar from this treatment was labelled as SSD.

2.2.3 PSD biochar preparation

The SD biochar (30 g) was boiled in ethanol (200 ml) for 2 h and then collected and filtered. The solid biochar was dried at 120 °C for 24 h and labelled as PSD.

2.2.4 SDO biochar preparation

The prepared SD was subsequently subjected to ozone treatment in distilled water. For the treatment of SD with ozone, 50 g of prepared SD was ozonated in 200 ml distilled water for 2 h, then filtered, and washed with distilled water followed by ethanol. Finally, the ozonated SD biochar was dried at 120 °C for 48 h and labelled as SDO.

2.3 Adsorption measurement for MB dye

A stock solution of MB dye (1000 mg L−1) was prepared by dissolving 1.0 g of MB dye in 1000 ml of distilled water, and this solution was diluted to have the required concentration for the removal test and the standard curve. The batch adsorption experiments were employed to evaluate the adsorption capability, thermodynamic and kinetic parameters of SDO, SSD, and PSD which were prepared from SD. A series of Erlenmeyer flasks (300 ml) containing 100 ml of different concentrations of MB dye solution and different amounts of biochar was shaken at 200 rpm for a certain time. The sample pH was adjusted to the desired values with 0.1 M HCl or 0.1 M NaOH. About 0.5 ml of the solution in the Erlenmeyer flask was then separated from the adsorbent, and the concentration of MB dye was detected at different interval times and the equilibrium. The concentration of MB dye was determined by spectrophotometry at λmax 665 nm [38, 59].

Initially, the slope of the standard curve correlated between known MB dye concentrations and related absorbance has been used to calculate the unknown MB dye concentration (Ct) at time intervals from the absorbance value practically detected. Equation (1) shows the Ct calculation.

$${\mathrm C}_{\mathrm t}=\frac{\mathrm{absorbance}\;\mathrm{at}\;\mathrm{interval}\;\mathrm{time}\;\mathrm t}{\mathrm{slope}\;\mathrm{of}\;\mathrm{standard}\;\mathrm{curve}}$$
(1)

MB dye concentration at equilibrium Ce; at stable values of absorbance. Equation (2) shows the Ce calculation.

$${\mathrm C}_{\mathrm e}=\frac{\mathrm{absorbance}\;\mathrm{at}\;\mathrm{equlibrium}}{\mathrm{slope}\;\mathrm{of}\;\mathrm{standard}\;\mathrm{curve}}$$
(2)

The adsorption capacities of MB dye at equilibrium (qe) were calculated from Eq. (3):

$${\mathrm q}_{\mathrm e}=\frac{{\mathrm C}_0-{\mathrm C}_{\mathrm e}}{\mathrm W}\times\mathrm V$$
(3)

where qe is the amount of MB dye per unit of adsorbent at equilibrium (mg g−1); C0 and Ce are the initial and equilibrium concentrations of MB dye in the liquid phase (mg.L−1), respectively; V is the volume of the solution (L) and W is the mass of adsorbent (PSD, SDO, or SSD) in gram.

2.3.1 Effect of solution pH, initial MB dye concentration, adsorbent dosage, and contact time

The effect of pH was studied for SDO, SSD, and PSD using 100 ml of 100 ppm of initial MB dye concentration using solution pH (2–12). The pHPZC has been studied for the SDO, SSD, and PSD biochars following the literature-reported method [60].

The isotherm study for sawdust biochars was performed using various initial concentrations of MB dye solution (20, 40, 60, 80, 100, and 120 mg.L−1) using different doses of SDO and SSD biochars (05, 1.0, 2.0, 3.0, and 4.0 g.L−1) as well as the various concentrations of MB dye solution (100, 150, 200, 300, and 400 mg.L−1) using different doses of PSD biochar (0.5, 1.0, 1.5, 2.0, and 2.50 g.L−1). The samples were shaken at 200 rpm, and the MB dye concentration was analyzed at different time intervals at room temperature (25 ± 2 °C).

In the kinetics study, SDO and SSD biochars of various doses (0.5, 2.0, 3.0, and 4.0 g L−1) were added to 300-ml Erlenmeyer flasks containing 100 ml of initial MB dye solution (20, 40, 60, 80, 100, and 120 mg L−1), and PSD biochar of various doses (0.5, 1.0, 1.5, 2.0, and 2.5 g L−1) was added to 300-ml Erlenmeyer flasks containing 100 ml of initial MB dye solution (100, 150, 200, 300, and 400 mg L−1). The flasks were shaken at 200 rpm and samples were taken from the solution at different interval times for the analysis of the residual concentration of MB dye.

3 Results and discussion

3.1 Characterization of biochars

3.1.1 Estimation of biochar surface functional groups by FTIR

FTIR analysis was performed on SDO, SSD, and PSD biochars to identify the functional groups on their surfaces and to know the effect of modification on the disappearance or existence of a new functional group. Figure 1 shows the FTIR spectra of SDO, SSD, and PSD biochars. Bands at 3350 and 3215 cm−1 represent the O–H stretching vibration that existed in PSD, SDO, and SSD biochars, while the band at 2931.5 cm−1 represents –C–H stretch of the alkyl in PSD, SDO, and SSD biochars. The band from 1800–1450 cm−1 known as “overtones” as band 1695.2 cm−1 in PSD and SSD was dramatically reduced in SDO, whereas the band at 1592 cm−1 –C–C– stretch (in-ring) was unaffected by the different treatments applied to SD biochar [61]. Bands in biochars between 1470 and 900 cm−1 represent C-O functional groups and show no significant changes as a result of the different treatments applied to the SD biochar. The bands at 1027, 1029, and 1033 cm−1 in SDO, PSD, and SSD, respectively, are related to the C-O–H functional group [36, 37, 62].

Figure 2 shows the FTIR spectrum of PSD, SSD, and SDO biochars after they have been treated with MB dye for 3 h. It was discovered in all of the FTIR analyses of all tested biochars after they had been exposed to an MB dye removal process that there were bands at 1591, 1485, 1392, and 1340 cm−1, which correspond to the MB dye.

3.1.2 Biochars’ surfaces analysis

The influence of sonication and ammonia solution treatment on the surface properties of wood sawdust biochar was investigated by N2 adsorption–desorption. The Brunauer–Emmett–Teller (BET) and BJH methods were used to calculate the specific characteristic of biochar surfaces. Figure 3 shows that the BET-specific surface area of biochars decreased as SSD (4.0098 m2.g−1) > PSD (2.92 m2 g−1) > SDO (1.975 m2/g). It is noted that modifications affect the specific surface area and the effect of physical modification by sonication is more than chemical modification with ozone treatment. The mean pore diameter decreased with modifications in the order PSD (16.98 nm) > SSD (14.73 nm) > SDO (10.716 nm). The effect of ozone modification is greater than sonication on pore diameter decreasing due to the introduction of OH groups. Pore types are mesoporous. The total pore volume of PSD, SSD, and SDO biochars were 12.254 × 10−3, 14.77 × 10−3 and 5.291 × 10−3 cm3 g−1, respectively. Figure 3c shows the BJH data of PSD, SSD, and SDO biochars, and Table 1 includes their surface attributes.

Table 1 BJH data analysis of PSD, SSD and SDO biochars

3.1.3 Morphological properties of sawdust biochar surfaces

The surface morphology of sawdust raw material (RSD), PSD, SSD, and SDO biochars was investigated using SEM and reported in Fig. 4. As shown in Fig. 4a, b, the PSD and SSD biochars appear clean and free of any particulate impurities; besides, there is no damage in the pores of the SSD which was observed as a result of sonication. Also, a small increase in the pore volume and the number of pores in SSD biochar due to sonication treatment of PSD biochar, which explains the small increase in the surface area of SSD biochar. Figure 4c shows the SDO biochar that little pores existed which reflects the small surface area for SDO biochar. This proves our previous finding that the treatment of biochar with ozone in water led to a decrease in the surface area due to pore blocking [36, 37, 62]. It is obvious that new pores of different sizes are created in SSD biochar as a result of sonication treatment; thus, the surface areas of the sonicated biochar increased while treatment with ozone in water led to the blocking of the pore and decrease the surface area of the produced SDO biochar. The SEM image of sawdust raw material represented in Fig. 4d showed no pores.

3.1.4 Elemental analysis of sawdust biochars

Energy dispersive X-ray spectrometer (EDX) was used to analyze the chemical compositions of sawdust biochar. The chemical compositions of the samples were analyzed with a dispersive X-ray spectrometer (EDAX). The element percent of SD, SSD, and ASD biochars were examined and reported in Table 2, which shows the absence of nitrogen peak before the modification with the NH4OH reagent. The EDX analysis of ASD biochar proved the presence of about 7.63% nitrogen in sample weight.

Table 2 EDX analysis data of SD, SSD, and ASD biochars

3.1.5 Thermal characterization of biochars

Thermal gravimetrical analysis (TGA) or thermogravimetric analysis in general means the measurement of the weight loss during a user-defined temperature or heating process. Figure 5a and b show the decomposition of SD and SSD biochars, respectively, which takes place in three steps while the decomposition of the ASD biochar takes place in four steps (Fig. 5c). In SD biochar, the first step of decomposition occurs at temperatures ranging from 50 to 150 °C and involves the loss of surface-bound water and moisture present in the sample with an approximate weight loss of 6.76%. In the second step, temperatures ranging from 150 to 700 °C and an approximate weight loss of 56.30%, and in the third decomposition step, temperatures ranging from 700 to 1000 °C and an approximate weight loss of 22.55%. In SSD biochar, the first step of decomposition occurs at temperatures ranging from 50 to 180 °C, with an approximate weight loss of 12.21%; the second step, temperatures ranging from 180 to 675 °C and approximate weight loss of 32.31%; and in the third decomposition step, temperatures ranging from 675 to 1000 °C and approximate weight loss of 4.28%. While in ASD biochar, the first step of decomposition occurs at temperatures ranging from 50 to 180 °C and involves approximately weight loss of 13.21%; the second step, temperatures ranging from 180 to 250 °C and approximate weight loss of 3.99%; and in the third decomposition step, temperatures ranging from 250 to 700 °C and approximate weight loss of 30.08%; and in fourth step, temperatures ranging from 700 to 1000 °C and approximate weight loss of 2.96%.

3.2 Effect of pH on the adsorption of MB dye

The adsorption of MB dye to different biomaterials is extremely conditional on the pH of the solution and the biomaterial surface charge distribution. The electrostatic interactions of attractive or repulsive character between MB dye species and active sites on the surface of various biomaterials are affected by the solution pH. In a water-soluble solution, MB dye exists as undissociated molecules (MB0) and cationic species (MB1) (Fig. 6c). As observed in Fig. 6c, MB0 and MB1 (50% species each) coexist at pH = pKa = 3.8. While MB0 species (86%) and MB1 species dominate and are only present at pH 3 and pH > 6 [63]. The surface charge distribution (pHPZC) of SDO, SSD, and PSD biochars employed for the sequestration of MB dye ions is depicted in Fig. 6a. The determined pHpzc for SDO, SSD, and PSD showing the near association that exist between the surface groups of the biochars and their surface charge were 4.4, 4.9, and 4.4. Hence, the surface charge was positively or negatively charged when the solution pH was < or > the pHpzc. Figure 6b shows the impact of varying solution pH on MB dye confiscation and it was noticed that the % of MB dye ions sorbed to the SDO, SSD, and PSD biochars increased considerably as the solution pH was varied from pH 2 to 12, with optimum % removal of MB dye ions noticed at pH 12. The low % of MB dye confiscated to the various biochars at pH 2 was ascribed to the electrostatic repulsion between the negative surface charges and the cationic sorbate undissociated species (MB0), as surface sites on biochars are suggestive of having a considerably extra amount of negatively charged groups at low pH. Also, the increased competition between MB+ with the H+ and H3O+ ions for the biochar sorption sites leads to a reduced % of MB dye removed at acidic pH. The removal of MB dye to the various biochars at low pH values was due to interactions such as hydrogen bonding, π-π or π+ interaction, and porous diffusion [64]. The improved % of MB dye removed to the various biochars was attributed to the electrostatic attraction between the dominant negatively surface charges (which increased with improving the solution pH) and the predominant MB dye species (MB1 dye). Improving the solution pH was reported to increase the amount of hydroxyl (-OH) and carboxylate anion (-COO-) groups on the biochar surface and hence improve the amount of negatively charged sites on the surface of the biochar [64]. A similar trend was also reported in the studies by Salazar-Rabago et al. [63], Phuong et al. [64], Al-Ghouti and Al-Absi [65], and Pandey et al. [60]. Electrostatic interaction and hydrogen bonding are suggested as the key biosorption mechanism of MB dye at acidic and basic pH [65].

3.3 Effect of biochar dosage on the biosorption of MB dye

An important factor that impacts the biosorption process, which assesses the biosorbent-sorbate system equilibrium, is the biosorbent dosage [54, 60]. The impact of biochar dosage on the sequestration of MB dye ions using SDO, SSD, and PSD biochars is reported in Fig. 7. The % of MB dye confiscated to SDO, SSD, and PSD biochars was observed to be directly comparative to the improved biochar dosage used and initial MB dye concentrations. These trends were ascribed to the surge in the accessible biosorption sites existing on the surface of each biochar. But elevated biochar dosage led to a saturation of the % of MB dye removal ascribed to particle aggregation which resulted in reduced biochar surface area available and improvement in the diffusion path length, thereby resulting in reduced removal. A comparable pattern was illustrated in the studies relating to MB dye removal to different biomaterials by [64, 66,67,68].

3.4 Impact of initial concentration on MB dye removal

The driving force offered by the dye concentration assists to stun the mass transfer resistance of molecules of dyes at the interfaces of a solid liquid [69, 70]. The impact of MB’s initial dye concentration was studied at various concentrations ranging from 20 to 120 mg/L using varying biosorbent dosages of 0.1–0.4 g/L at pH 12. It was observed in Fig. 8 that the % of MB dye ions confiscated onto the various biochars decreased with increasing MB dye concentrations (20–120 mg/L of SDO and SSD and 100–400 mg/L of PSD biochars) as contact time was improved from 0 to 180 min and 0 to 250 min. The optimum % of MB dye removed was obtained using MB dye concentrations of 20 and 100 mg/L. This decrease in the % of MB dye ions confiscated onto the biochars with increasing MB dye concentrations was attributed to the saturation of the accessible active sites on the surface of the biochars at elevated concentrations of MB dye [71].

3.5 Kinetic studies

The sorption kinetics is employed to study the change in sorption quantity over time that could offer a source for engineering process design and give an understanding of the mechanism of sorption [72]. To evaluate the kinetic data of MB dye adsorption by SDO, SSD, and PSD biochars under the experimental conditions examined, the pseudo-first-order (PFO), pseudo-second-order (PSO), film diffusion (FD), and intraparticle diffusion (ITD) models were employed. The linearized form of these models is given by Eqs. 4, 5, 67.

$$\mathrm{log}\left(\mathrm{q}_\mathrm{e}-\mathrm{q}_\mathrm{t}\right)=\mathrm{log}\;\mathrm{q}_\mathrm{e}-{~}^{\mathrm{K}_{1}}\!\left/ \!{~}_{2.303}\right.\mathrm{t}$$
(4)
$${~}^{t}\!\left/ \!{~}_{\mathrm{q}_\mathrm{t}}\right.={~}^{1}\!\left/ \!{~}_{\mathrm{K}_{2}\mathrm{q}_\mathrm{e}^{2}}\right.+{~}^{1}\!\left/ \!{~}_{\mathrm{q}_\mathrm{t}}\right.\mathrm{t}$$
(5)
$$ln\;\left(1-\mathrm F\right)=-{\mathrm k}_{\mathrm{FD}}\times\mathrm t$$
(6)
$${\mathrm q}_{\mathrm t}={\mathrm K}_{\mathrm{diff}}\mathrm t^{0.5}+\mathrm C$$
(7)

qe, qt, t, K1, K2, F = qt/qe, kFD, Kdiff, and C indicate the equilibrium sorption capacity of the sorbent (mg g−1), and the sorption capacity (mg g−1) at time t, the contact time, the rate constants of the PFO and PSO models, fractional attainment of equilibrium, film diffusion rate coefficient (L/min), intraparticle diffusion rate constant (mg/gmin0.5), and the thickness of boundary layer [73,74,75].

The coefficient of regression (R2) closeness to unity (1) defines the extent the calculation model fits the data [76]. The linear plots of the PFO, PSO, FD, and INT models are given in Figs. 9, 10, and 11 and the determined parameters using these models are summarized in Tables 3, 4, 5, 6, 7, and 8. Comparing the R2 of the PFO and PSO models, it was found that the PSO model ideally demonstrates the sorption of MB to SDO, SSD, and PSD with R2 values which were > 0.9 (Tables 3, 5, and 7). The calculated qe (mg/g) values of SDO, SSD, and PSD biochars were very close to the obtained experimental values of qe (mg/g) using the PSO model, which validate the fitness of this model.

Table 3 Determined parameters of PFO and PSO models using SDO biochar
Table 4 Determined parameters of FD and INT models using SDO biochar
Table 5 Determined parameters of PFO and PSO models using SSD biochar
Table 6 Determined parameters of FD and INT models using SSD biochar
Table 7 Determined parameters of PFO and PSO models using PSD biochar
Table 8 Determined parameters of FD and INT models using PSD biochar

While Figs. 9, 10, and 11c and d show the linear plots of the FD and INT models. The determined parameters from these models are presented in Tables 4, 6, and 8. The plots of these models (INT and FD models) of the sorption process were not controlled by rate-determining steps and diffusion via liquid film surrounding the biochars, as their plots did not pass through the origin. The values of R2 of the FD and INT models were comparatively low and not above 0.9 for all values when compared to that of the PSO model [73, 77, 78]. Hence, the biosorption of MB dye to the various biochars was based on the assumption of a rate-limiting step of chemical sorption or chemisorption involving valency forces via sharing or electron exchange between the sorbate and the biosorbents [72, 79].

3.6 Isotherm studies

To evaluate the sorption mechanism, forecast the optimum sorption capacity of the biosorbents used, assess the relationship between the sorbate and the biosorbent, and improve the sorption system design, the sorption isotherm is employed [72]. In this study, linearized isotherm models were used to fit the sorption process, which includes Langmuir (LNR) and Freundlich (FRH) models. The linearized forms of these models are depicted in Eqs. 89. The linearized fitting of the curve of the confiscation MB dye to SDO, SSD, and PSD biochars is given in Fig. 12.

$${~}^{{\mathrm{C}}_{\mathrm{e}}}\!\left/ \!{~}_{{\mathrm{q}}_{\mathrm{e}}}\right.=\left({~}^{1}\!\left/ \!{~}_{{\mathrm{Q}}_{\mathrm{m}}}\right.\right){\mathrm{C}}_{\mathrm{e}}+{~}^{1}\!\left/ \!{~}_{{\mathrm{Q}}_{\mathrm{m}}{\mathrm{K}}_{\mathrm{L}}}\right.$$
(8)
$${\mathrm{logq}}_{\mathrm{e}}= {~}^{1}\!\left/ \!{~}_{\mathrm{n}}\right.{\mathrm{logC}}_{\mathrm{e}}+{\mathrm{logK}}_{\mathrm{F}}$$
(9)

Ce (mg.L−1), Qm (mg.g−1), KL (L.mg−1), KF (mg.g−1) (L.mg−1)1/n, and 1/n (dimensionless; 0 < n < 10) represent the sorbate concentration in the solution at equilibrium, the determined saturated monolayer biosorption capacity of the sorbent under the given circumstances, and the LNR constant which relates to the affinity between the biosorbent and sorbate, FRH constant, and FRH intensity parameter, signifying the sorption driving force or surface heterogeneity magnitude [4, 60, 63].

Tables 3, 4, 5, 6, 7, and 8 depict the established parameters of isotherm models with their corresponding R2 relating to the most ideal model that explained the sorption of MB dye to SBO, SSB, and PSB models. It was noticed from the R2 values in Tables 9, 10, and 11 that the FRH model better described the sorption process of MB dye when compared to the LNR model using SBO (R2 = 0.957) and SSB (R2 = 0.986) biochars and the LNR model ideally describes the sorption process of MB dye with an R2 value of 0.999 employing PSB. The determined optimum sorption capacities from the LNR model were 200.0, 526.3, and 769.23 mg g−1. The values of n from the FRH model were greater than 1, suggesting that SDO and SSB biochars were suitable for MB dye confiscation from water-soluble solutions. High KF values using these biochars also showed that the various biochars could effortlessly sorb MB dye. The sorption capacities of the SDO, SSB, and PDB biochars were comparatively high when associated with other biosorbents employed for the confiscation of MB dye (Table 12). The sorption of MB dye to various biochars demonstrates monolayer sorption with uniform energy of a finite number of active sites and less sorbate transmigration in the plane surface using PSB biochar and multilayer layer sorption on a diverse surface with a diverse distribution of active sites and energies using SDO and SSB biochars. This was possibly due to their low cost, easy accessibility, greenest, and non-producing secondary contamination [76, 78, 80]. The adsorption mechanism of MB dye using the SDO, SSB, and PDB biochars may be understand via electrostatic attraction between cationic MB dye molecules and negatively charged biochar surface, a hydrogen bonding attraction force between MB dye molecules and biochar surface, and/or surface to pore diffusion of dye molecules [81].

Table 9 The experimental two-parameter isotherm models utilized for the MB dye confiscation to SBO biochar and its parameters adopted from experimental data fitting
Table 10 The experimental isotherm models utilized for the MB dye confiscation to SSB biochar and its parameters adopted from experimental data fitting
Table 11 The experimental isotherm models utilized for the MB dye confiscation to PSB biochar and its parameters adopted from experimental data fitting
Table 12 Assessment of the optimum sorption capacity (Qm) for MB dye employing different biochars

4 Conclusion

The possibility of exploring and using new, cheap, easily accessible, biodegradable, and non-hazardous biosorbents prepared from SD agro-waste materials for the production/synthesis of SDO, PSD, and SSD biochars in the treating and removing of MB dye was considered and emphasized. The characterization of the synthesized/produced SDO, PSD, and SSD biochars was carried out using BET, SEM, FTIR, and TP. The biosorption of the MB dye using SDO, PSD, and SSD biochars was observed to be dependent on the solution pH, with optimum removal of MB observed at pH 12 for all (SDO, PSD, and SSD) biochars. Also, the biosorption process of MB to the SDO, PSD, and SSD biochars was ideally defined using the PSO, FRH-SDO, and SSD biochars and LNR-PSD biochar models. Based on the LNR model fitting to the experimental data, the optimum sorption capacities obtained using SDO, SSD, and SSD biochars were 200, 526, and 769 mg/g respectively. It was also observed that the electrostatic interaction and hydrogen bond played a critical role in the interaction mechanism between the various (SDO, PSD, and SSD) biochars and MB. In conclusion, this study has again shown that adsorbing reagents (biosorbents) prepared from cheap, easily accessible, biodegradable, and non-hazardous agro-waste materials such as SDO, PSD, and SSD biochars can effectively be useful for the removal of dyes such as MB and other industrial toxic wastes and effluents before their disposal into the environment. Therefore, it is suggested that further research on the use of cheap, easily accessible, biodegradable, and non-hazardous agro-waste materials for the control and mitigation of environmental effluences vis-à-vis industrial toxic wastes and effluent management, and research on the toxicity (toxicity assays) of synthesized biochars using at least cell lines or animal models should be given considerable attention.

Fig. 1
figure 1

FTIR analysis of PSD, SSD, and SDO biochars before being subjected to MB dye

Fig. 2
figure 2

FTIR analysis of PSD, SSD, and SDO biochars after being subjected to MB dye for 3 h

Fig. 3
figure 3

a Adsorption–desorption, b BET, c BJH analyses of PSD, SSD, and SDO biochars.

Fig. 4
figure 4

SEM analysis of a PSD biochar, b SSD biochar, c SDO biochar, and d SD raw material

Fig. 5
figure 5

Thermal gravimetrical analysis of a SD biochar, b SSD biochar, and c ASD biochar

Fig. 6
figure 6

a Determined pHPZC of SDO, PSD, and SSD biochars b impact of pH on MB sorption to biochars and c the speciation and molecular structure diagram (insert) of MB was adapted from [63]

Fig. 7
figure 7

Impact of biochar dosage on the removal of MB using a SDO, b SSD and c PSD biochars

Fig. 8
figure 8

Impact of MB concentrations on the removal of MB using a SDO, b SSD, and c PSD biochars

Fig. 9
figure 9

Linear plots of the a PFO model b PSO model, c FD model and d INT model using a SDO biochar

Fig. 10
figure 10

Linear plots of the a PFO model b PSO model, c FD model and d INT model using a SSD biochar

Fig. 11
figure 11

Linear plots of the a PFO model b PSO model, c FD model and d INT model using a PSD biochar

Fig. 12
figure 12

Linear plot of the LNR model using a SDO, b SSD, and c PSD biochars and FRH model using d SDO, e SSD, and f PSD biochars