1 Introduction

The unplanned industrialization, urbanization, rapid population growth, change in climatic conditions and excessive exploitation of natural water resources have raised water safety concerns in recent years [1]. Approximately 70% of the surface of earth is covered by water whereas only < 1% is suitable for consumption purposes [2]. Water pollution has become a serious environmental threat and access to clean water has become a challenging task and an expensive commodity worldwide. According to World Health Organization, around 2.2 billion people are compelled to use contaminated water for drinking and > 800 million people do not have potable water facilities at global level [3]. United Nations sustainable development goals emphasized on the need of availability and sustainable management of water resources by the year 2030 [4]. Dyes are coloured organic pollutants which are used in varied industries like textile, paper, paint, leather, cosmetics and plastics [5]. The textile industries boost economic growth of nation, however these are responsible for more than 20% of global water pollution [6]. More than 800 tonnes of chemical dyes are produced every year from textile industries worldwide and around 10–15% dyes are unable to bind with the fabric and expelled into wastewater during industrial processing [7]. Dye presence in water even at trace concentration reduces water reoxygenation capacity and makes water undesirable for its consumption and application for different purposes [8]. The market for dye stuff was more than thirty billion dollars in 2019 and predicted to cross 49 billion dollars by 2027 [9]. The textile industry utilizes > 230 tonnes water for processing of one tonne of final product [10]. The dye containing effluents released from textile industries are intensively coloured, alkaline, high in biochemical and chemical oxygen demand, total suspended solids and contain salt, detergents, polyvinyl alcohol, surfactants, acids, formaldehyde, oil and heavy metals etc. The presence of noxious dyes in water inhibits light perforation in water, decrease in rate of photosynthesis and shows disastrous impact on aquatic life and entry in human body via food chain [11]. Hence, immediate attention is needed for dye elimination from aqueous system and maintenance of clean environment to safeguard aquatic life, environment and human health.

Rhodamine B, is xanthene basic dye which is amphoteric in nature [12]. It is utilized for manufacturing of ball pens, paints, carbon sheets, crackers, explosives, stamp pad ink, laser dye and textile industry because of its optical properties [13]. It is also utilized as water tracer, photosensitizers, fluorescent markers for analysis of microscopic structures and biological stain in biomedical research [14]. Rhodamine B dye is soluble in water and presence of very low concentration of RhB (1 ppm), imparts intensive colour to water and makes it unfit for consumption and domestic applications [15]. Rhodamine B has high photostability, non-biodegradable nature and presence of N-ethyl groups on xanthene rings makes it toxic [16]. Exposure of RhB dye to algae, crustaceans and fishes reflected lethal concentration (LC50 which shows 50% mortality) in the range from 14 to 24 mg/L. The annual average quality standard and maximum allowable concentration quality standard for RhB dye were found to be 14 and 140 µg/L, respectively. Thus, concentration below 140 µg/L for RhB dye is not expected to pose a risk on aquatic life as observed during tracer experiments [17]. Rhodamine B causes allergic dermatitis, irritation and redness of skin, eyes, disruption of central nervous system, gastrointestinal and respiratory tracts and damage to kidney, liver and thyroid gland [15]. International Agency for Research on Cancer classified Rh B as a Group 3 carcinogen [18]. The photosynthetic and antioxidant activities of Hydrilla verticillata were adversely affected by RhB dye exposure [19]. Chlorella vulgaris exposure to RhB dye (50 mg/L) for 96 h significantly reduced pigment and protein components [20]. Kooh et al. [21] observed hazardous effects of RhB dye on Cyprinodon variegatus at 84 mg/L concentration. Different animal models reflected liver enlargement and weight loss after oral intake of 1% RhB dye in feed up to three months [22]. They also reported death of rats within two minutes after intravenous administration of lethal dose of RhB dye (90 mg/kg). Sulistina et al. [23] reported RhB dye enhanced apoptosis of brain cells and disrupted balance of hormones in mice.

Different procedures have been used for elimination of dye from aqueous system like photocatalysis, flocculation, ozonation, coagulation, electrolysis, advanced oxidation, and membrane technology etc. [24]. Many commercial adsorbents like activated carbon, clay, zeolite, polymer and metal–organic frameworks have been explored for wastewater treatment [25]. However, various drawbacks are associated with the above-mentioned technologies such as high cost, energy consumption, less efficiency, complex and labour-intensive procedure, requirement of large treatment area and sludge generation. Adsorption has been endorsed as an effective, affordable, sustainable, reliable and widely accepted method for elimination of colouring materials from contaminated water because of more efficacy and suitable for large scale applications [26]. Agricultural sector produces > 1300 million tonnes of biomass waste every year, burning and disposal of agro-wastes generate greenhouse gases, air, water and soil pollution and depletion of microbial population in soil which poses serious problems for environment and health of human-beings [27]. Ligno-cellulose rich agricultural wastes have been regarded as one of the best alternatives for elimination of dye because of easy accessibility, low-cost, more uptake efficiency, simple design, easy operation and reusability which can be important attributes for development of circular bio-economy [28, 29]. Therefore, conversion of agro-wastes into biochar as valuable adsorbent for dye removal from aqueous system will be a promising option due to availability of wide range of raw materials, simple preparation process, low cost, remarkable adsorption capacity and feasibility [30]. Biochar, carbon rich porous material produced from biomass pyrolysis without oxygen has shown large specific surface area, porosity, enriched surface binding sites, cation exchange ability, renewability and stability convert into superior sorbent for pollutants elimination from wastewater [31]. Different crop residues and biomass wastes such as wheat straw, rice and peanut husks, fruit and vegetable peel, tea waste, microalgae and sewage sludge have been used for preparation of biochar [32]. The agricultural wastes utilization enhances recycling of wastes which are available at zero cost and promotes circular economy and carbon neutrality towards sustainable environment [33]. Vigna radiata L. (Family: Fabaceae), commonly known as mung bean or green gram, is important legume crop which is cultivated in different parts of globe in around six million hectare area [34]. Mung bean, also considered as poor man’s meat, is excellent source of proteins, antioxidants, minerals, vitamins and essential fatty acids [35]. The coconut (Cocos nucifera L.; family: Palmae) is an economically important crop, known as tree of life and cultivated in ~ twelve million hectares of tropical and sub-tropical parts of the world. To the best of our information, no report is available on the effect of coconut fruit shell biochar for RhB dye adsorption and impact of CFSB treated RhB dye solution on growth and biochemical variables of Vigna radiata. Present investigation was designed to analyze characterization of coconut fruit shell biochar, sorption performance of CFSB for RhB dye which was systematically investigated with adsorption isotherm, kinetics, thermodynamic variables and reusability of CFSB treated wastewater was tested on development and biochemical variables of mung bean plants.

2 Materials and methods

2.1 Biochar preparation

Coconut fruit shells were collected from fruit vendor from local market of Noida. The coconut fruit shells were cleansed properly with tap water, then with distilled water for elimination of dust particles. Coconut fruit shells were kept under sunlight for fifteen days until they become hard by reducing moisture content, then broken into small pieces with stainless-steel electronic grinding machine. A stainless-steel pyrolysis reactor (length: 1.1 m and inside diameter: 75 mm) was used for biochar production from coconut fruit shell with temperature controlled by an electric heater. Nitrogen was purged in pyrolyzer for 60 min at the rate of 100 cm3 min−1 to maintain the inert atmosphere. The crushed coconut fruit shells were pyrolyzed at 500 °C (heating rate: 10 °C min−1) for 4 h.

Prepared biochar was cleansed with autoclaved deionized water and placed for two hours in oven at 65 °C to check activities of microbes [36]. The effect of different biochar particle sizes on the RhB dye adsorption process was also analyzed. After the preparation of CFSB, we standardized biochar particle size by sieving process with using different sieves such as 80 BSS mesh (0-170 μm), 72 BSS mesh (230–300 μm) and 45 BSS mesh (320–500 μm).

2.2 Proximate analysis of CFSB

Proximate analysis of CFSB was carried out to assess stability of biochar towards thermochemical process. Coconut fruit shell biochar (2 g) was kept in a crucible at 110 °C in hot air oven for 60 min for calculation of moisture content. For volatile content, CFSB (2 g) was taken in a closed crucible and placed at 900 °C for 10 min in a muffle furnace whereas for ash content, CFSB (2 g) was kept in open crucible at 775 °C for 60 min in muffle furnace [37]. Fixed carbon content was calculated by the following Eq. 1:

$$FC\;\left(wt\%\right)=\left[100-VM+AC+MC\right]$$
(1)

where, FC = fixed carbon, VM = volatile matter, AC and MC are ash and moisture contents, respectively.

2.3 Preparation of reagents

Rhodamine B dye was procured from Sigma-Aldrich, Bangalore, India. Seeds of mung bean (Vigna radiata L. variety Virat) were procured from seed agency of Noida. RhB dye stock solution (1000 mg L−1) was prepared and diluted to different concentrations with distilled water. UV–vis spectrophotometer (Shimadzu 1800) was used for measuring dye solution optical density. Reagents applied for experiments were of analytical grade. RhB dye properties are mentioned in Table 1.

Table 1 Properties of Rhodamine B dye

2.4 Batch study

Batch investigation was executed to assess CFSB viability as sorbent for RhB dye removal from aqueous medium. Impact of different experimental parameters like pH (2–10), size of particles (0–500 µm), contact period (20–120 min), biochar dose (1—3.5 g), concentration of dye (100–350 mg/l), agitation speed (50–300 rpm), and temperature (30–55 °C) were utilized for RhB dye elimination from aqueous medium with CFSB. RhB dye solution (100 ml) of different (100, 150, 200, 250, 300 and 350 mg/l) concentrations were taken in six distinct flasks, CFSB amount 1, 1.5, 2, 2.5, 3 and 3.5 g were mixed, respectively. In control, CFSB was not mixed in RhB dye solution. Absorbance was measured by UV–vis spectrophotometer (λmax = 554 nm), The RhB dye removal percentage (%) and adsorption capacity were calculated by given Eqs. (2) and (3):

$$RhB\;dye\;removal\;\left(\%\right)=\left(C_o-C_t\right)/C_o\times100$$
(2)

C0 and Ct = Initial and final concentrations of RhB (mg/l).

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

whereas, C0 is initial concentration of RhB dye (mg L−1), Ct is equilibrium concentration of RhB dye (mg L−1), V is volume of solution (L), and m is mass of adsorbent (g).

2.5 Point of zero charge

Point of zero charge was analyzed by method of Rivera-Utrilla et al. [38]. The 0.10 M HCl and NaOH solution were used to maintain 0.01 M NaCl solution range from pH 3–11. One gram CFSB was added in different solution, placed for one day at room temperature, pHfinal was analyzed. pHPZC was assessed by graphical plot by using formula: pHfinal—pHinitial = f (pHinitial).

2.6 Coconut fruit shell biochar characterization

The surface characteristics of CFSB were described based on the presence of active available functional groups. Potassium bromide (KBr) pellet method was used for detection of binding sites available on CFSB before and after adsorption of RhB dye by FTIR spectra (Perkin Elmer 2000, Waltham, MA, USA). The active sites on the adsorbent surface were obtained from FTIR spectrum and recorded by using the transmittance mode conducted over wavelengths of 500 and 4000 cm−1 after mixing adsorbent sample thoroughly with KBr in a mortar and then put into a pellet-forming die. The peaks were obtained in less than 30 s of scanning time.

The surface morphology of CFSB was depicted with SEM (Quanta FEG 650, Thermofisher, Beverly, CA, USA). The morphology of CFSB before and after RhB dye adsorption was obtained from scanning electron micrographs. The sample was prepared on aluminum plate. Prior to analysis, samples were wrapped with gold foil using a sputter coater (SCD050) to improve the conductivity. The morphology of the CFSB was captured at an accelerating voltage of 15 kV.

2.7 Kinetics of dye uptake process

Kinetic investigation is needed for analysis of order of reaction in adsorption system and to identify controlling process for sorption mechanism. Pseudo first (PFO), Pseudo second order (PSO), Weber-Morris intraparticle diffusion (WMIPD) models were applied for determination of rate constant for sorption process.

Pseudo first order model was explained by Lagergren [39], which defines sorption processwas related to diffusion and physisorption. This model deals with single sorption site for single dye molecule and sorption with time corresponded to instant efficacy [40]. Variables can be achieved by plotting logarithmic parameters (ln(qe − qt)) with time as given in Eq. 4:

$$\text{ln}\left(q_e-q_t\right)=\text{ln}\;q_e-k_1t$$
(4)

qe = RhB dye uptake at equilibrium, qt RhB dye uptake at time, and k1 = pseudo first order uptake rate constant (min−1).

The sorption of single dye molecule onto two active sites of sorbent can be described by pseudo second order model (Eq. 5) [41], in which sorption process is regulated with chemisorption process, which includes valency forces via transmission between CFSB and RhB dye and electron sharing [42].

$$t/{q}_{t}=1/{k}_{2}{{q}_{e}}^{2}+t/qe$$
(5)

qe = RhB uptake on CFSB at equilibrium, k2 = pseudo second order sorption rate constant (g/mg.min).

Kinetic results were also analyzed by applying WMIPD model (Eq. 6) proposed by Webber and Morris [43]. It explains mechanism of diffusion and dye molecules transfer via the internal pores. Dye sorption is proportional to t1/2 as compared to t. Initial rate constant (kdiff) and thickness of boundary layer (C) was obtained by plotting qt vs. t1/2. All these values are required for identification of sorption process and prediction of rate regulating step.

$${q}_{t}={k}_{diff} {t}^{1/2}+C$$
(6)

kdiff = intraparticle diffusion rate constant (mg/gmin0.5), qt = sorption ability in t (mg g−1), C = boundary layer thickness.

2.8 Adsorption isotherm

Various isotherm models were applied for estimation of equilibrium sorption. RhB dye (250 mg/l) was mixed with different doses of CFSB for isotherm viability assessment through analyses of their potential for dye uptake.

2.8.1 Langmuir isotherm

The Langmuir model is based on the assumption that adsorption takes place in monolayer form without any interaction between adsorbed molecules. Based on this model, adsorption energies onto.

the CFSB surface are uniform [44]. It can be written as mentioned in Eq. 7:

$$\frac{{C}_{e}}{{q}_{e}}=\frac{1}{{q}_{m}{K}_{L}}+\frac{{C}_{e}}{{q}_{m}}$$
(7)

qe = RhB sorption at equilibrium (mg g−1), qm = maximum RhB adsorption (mg g−1), Ce = RhB concentration at equilibrium (mg L−1), KL = Langmuir constant related with binding of RhB dye on CFSB.

2.8.2 Freundlich isotherm

It deals with RhB dye dissipation between solution and CFSB at equilibrium. This shows difference in binding sites energy enhancement for adsorption and reduction in adsorption heat [45]. It can be denoted as following (Eq. 8):

$$\text{ln}\;q_e=\text{ln}\;K_F+\left(\frac1n\right)\text{ln}\;C_e$$
(8)

KF = sorption ability, n = intensity.

Dye uptake can be explained as chemisorption when n < 1, physisorption at n > 1, linear sorption when n = 1.

2.8.3 Temkin isotherm

Temkin isotherm explains that adsorption heat of RhB dye molecules in a layer reduces with coverage due to interaction between dye and CFSB and adsorption shows consistent dispersal of binding energies to their highest level. The model assumed that adsorption energy reduced due to the interaction between CFSB surface and RhB dye. Temkin isotherm is given below as Eq. 9 [46].

$$q_e=R_T/b_TIn\;\left(A_T\right)+RT/b_T\;In\;\left(Ce\right)$$
(9)

AT = Temkin isotherm constant (l g−1), bT = Temkin constant for adsorption heat (J mol−1), R = gas constant (J/mol.K), T = absolute temperature.

2.9 Thermodynamic parameters

The alteration in ∆G, ∆H, ∆S were determined for RhB dye adsorption by CFSB. Thermodynamic parameters were analyzed with given in Eqs. 10, 11 and 12:

$${\Delta G}^0=-RT\;ln\;K_d$$
(10)
$${K}_{d}=\frac{{q}_{e}}{{C}_{e}}$$
(11)
$${\Delta G}^0={\Delta H}^0-T\;{\Delta S}^0$$
(12)

The changes in ΔG, ΔH, ΔS were studied after the rearrangement of equation and with the use of a curve fitting procedure for adsorption mechanism.

Where ΔG = Gibbs free energy (kJmol−1), Kc (L g−1) = equilibrium partition constant, T (oC) = temperature, R = universal gas constant (8.314 Jmol−1 K−1), ΔH (kJ mol−1) and ΔS (JK−1) were standard enthalpy and entropy changes, respectively.

2.10 Assessment of reutilization capacity

Coconut fruit shell biochar (2 g) was mixed in RhB dye (250 mg/l concentration), kept in shaking incubator at 200 rpm for 80 min at 28 ± 2 °C. After centrifugation, CFSB containing RhB dye was separated, and absorbance of the supernatant was measured to analyze the uptake of RhB dye by CFSB.. CFSB with RhB dye was kept at 500C for 6 h for enhancement in CFSB microstructures and dye sorption efficiency. Coconut fruit shell biochar was cleansed with 1N HCl and NaOH, kept for 45 min at 180 rpm, then desorbing solution absorbance was measured [47]. For removal of desorbing solution, CFSB was separated and rinsed properly with autoclaved deionized water and CFSB was placed at 50 °C for eight hours. Efficiency of CFSB was tested by five successive cycles. RhB desorption percentage was estimated with given Eq. 13:

$$Desorption\;\left(\%\right)=RhB\;dye\;desorbed/RhB\;dye\;adsorbed\ast100$$
(13)

2.11 Phytotoxicity assessment

The phytotoxic impact of Rhodamine B dye before and after CFSB treatment was assessed on mung bean. The seeds were rinsed with distilled water, then their surface were treated with mercuric chloride (0.1%) for 5 min to inhibit microbial infestation, further cleansed with Milli-Q water. Ten seeds of mung bean were kept in three set of test tubes containing distilled water, RhB solution (250 mg/l), solution of RhB dye treated with CFSB, respectively for four h. Then, Vigna radiata seeds were kept in sterilized petriplates and kept in seed germinator with 88% relative humidity at 26 ± 2 °C under 12 h light for 2 weeks. ISTA [48] procedure was applied for assessment of seed germination, seedling length, biomass and vigour index (Eqs. 14 and 15).

$$Germination\;\left(\%\right)=Mung\;bean\;seeds\;germinated/mung\;bean\;seeds\;taken\;for\;germination\ast100$$
(14)
$$Vigour\;index\;\left(VI\right)=germination\;\left(\%\right)\times seedling\;length$$
(15)

2.12 Analyses of biochemical variables

Chlorophyll content was examined by Lichtenthaler [49]. Sugar and protein components were estimated in mung bean plants by Hedge and Hofreiter [50], Lowry et al. [51] procedures, respectively.

2.13 Statistical analysis

Three replicates were used in randomized block design for each treatment. ANOVA and SPSS were applied for estimation of data. Mean of treatment was assessed by Duncan’s multiple range test at P < 0.05.

3 Results and discussion

In the present study, biochar prepared from coconut fruit shell (CFSB) was used for removal of RhB dye from aqueous solution. The characterization of prepared CFSB was carried out by proximate analysis, FTIR and SEM and effect of different parameters was evaluated by batch experiments for RhB dye removal by CFSB and effect of CFSB treated RhB dye solution on the growth of Vigna radiata seeds was also evaluated by phytotoxicity assessment.

3.1 Proximate estimation of coconut fruit shell biochar

Proximate analyses were executed to analyse fixed carbon, water content, volatile material, ash in CFSB. Due to heat treatment under pyrolysis, biomass material releases gases and liquid leaving high carbon content material. The high content of fixed carbon reflects better quality of sorbent because of large surface area and increased uptake efficiency. Results revealed more volatile material and fixed carbon, while less moisture as given in Table 2.

Table 2 Proximate analysis of CFSB

3.2 Characterization of CFSB

3.2.1 Morphological properties

The binding sites available on CFSB surface are important for sorption studies and wastewater treatment process. The structure of sorbent material and adsorption capacity are affected with active sites present on sorbent surface. Pyrolysis temperature and feedstock material determine the availability of functional groups on biochar surface [52].

Figure 1 shows FTIR spectrum of CFSB from wavenumber 500–4000 cm−1. Figure 1(a) shows FTIR of CFSB before adsorption of RhB dye whereas 1(b) reflects FTIR of CFSB after adsorption of RhB dye. The shift in peak and reduction in peak intensities are clearly visible in FTIR spectra in Fig. 1(b) after RhB dye adsorption because of intra and intermolecular interactions between RhB dye and functional groups of CFSB. The FTIR spectrum shows absorption band at 3405 cm−1, corresponding to the hydroxyl group stretch, which is present in lignocellulosic materials and indicates presence of phenolic compounds, alcohol and moisture in CFSB. The adsorption band at 2923 cm−1 shows presence of alkyl groups (CH2 and CH3) in the structure [53]. At 1732 cm−1, strong carbonyl stretch is present, which indicates CFSB material is rich in carboxylic acids, ketones and esters originated from sugars such as xylene and lignin and from non-polar compounds like fatty acids or their derivatives. The spectrum reflects adsorption band at 1607 cm−1, indicating presence of C = C linkages from various sources, including aromatic rings [54]. The stretches at 1246 cm−1 and 1164 cm−1, derived from C–O bonds of both Csp2 and Csp3 [55]. The adsorption band at 771 cm−1 may be due to the presence of alcohol, ketones and aldehydes. In Fig. 1(b) stretch at 568 cm−1 indicates the presence of sugars like cellulose and hemicellulose [56, 57]. The presence of C–O group is indicated by the peak appeared at 1106 cm−1. The Csp3–O group comes from ether and polysaccharides, which may be due to stretch of C–O–C at 1106 cm−1 [58]. These bands reflect the presence of polar groups in CFSB which may interact through hydrogen bonds and dipole–dipole interactions with compounds that have hydroxyl and amino groups in their structure [53]. The peak at 891 cm−1 is due to C–H functional group [59]. When we compared both FTIR spectra i.e. before and after RhB dye adsorption, we noted that some bands at 1505 cm−1, 771 cm−1 and 606 cm−1 disappeared, and some previously observed bands exhibited their reduced transmittance intensity, suggesting interaction between RhB dye molecules and CFSB or chemisorption mechanism [60].

Fig. 1
figure 1

FTIR of CFSB (a) before RhB dye adsorption and (b) after RhB dye adsorption

SEM was done to analyze alterations in surface morphology of CFSB. The details of surface structure are important for sorbent material use in sorption studies as it facilitates understanding of dye uptake phenomenon which takes place on surface of biochar and inside pores. Coconut fruit shell biochar SEM images prior and after adsorption process were analyzed at 5 KX magnification resolution with 2 µm CFSB particle size. The SEM image indicates that CFSB had irregular surface with various pores and this type of morphology facilitates intermolecular and intramolecular interactions between CFSB and RhB dye [61]. Notable modifications were detected in CFSB after RhB dye uptake in comparison to CFSB without RhB. After pyrolysis of coconut fruit shell, volatilization of organic substances shows porous and heterogeneous structure because of changes in CFSB due to lignin oxidation produced carboxyl, hydroxyl, carbonyl groups (Fig. 2a). Tightly bound surface was visible after RhB dye uptake, as binding sites available on CFSB were occupied with RhB dye molecules after CFSB interaction (Fig. 2b).

Fig. 2
figure 2

Scanning electron micrographs of CFSB before and after RhB dye sorption process (a) corresponds to CFSB with pores before RhB dye adsorption, (b) reflects CFSB with filled pores with RhB dye after adsorption

3.3 Batch experiments

Effect of various parameters like pH, particle size, contact period, concentration of dye, biochar dose, agitation speed, temperature were measured for RhB dye elimination from aqueous solution by CFSB (Fig. 3). Sorption efficiency of CFSB and adsorption processes mechanism were analysed by different isotherm and kinetic models and thermodynamics parameters.

Fig. 3
figure 3

Impact of parameters (a) pH, size of particles (b) contact time (c) dye concentration (d) CFSB amount (e) speed of agitation (f) temperature on removal of RhB dye (250 mg/l) with CFSB

3.3.1 Effect of pH

pH is crucial factor which determines efficiency of sorbents. pH of solution influences dye solubility, physico-chemical properties of biochar surface, dye speciation and degree of ionization and sequestration of dye onto sorbent surface [62]. Figure 3(a) reflects both effect of pH (2–10) and three different CFSB particle sizes on removal of RhB dye. First bar denotes pH and subsequent 3 bars are presenting three different CFSB particle sizes (0–170 μm, 230–300 μm and 320–500 μm).

In this study, we examined effect of different pH range (2–10) on RhB dye sorption onto CFSB at 26 ± 20C (Fig. 1a). Maximum 96% RhB dye sorption was reported at pH 2 and pH 4, 6, 8 and 10 showed 82, 79, 63 and 52% RhB dye elimination, respectively. The possible explanation for this could be at the point of zero charge (pHpzc), both positive and negative electrical charges present at the adsorbent surface are balanced. The effect of pHpzc on adsorption process can be observed in three ways: (i) adsorbent surface shows negative charge if pHpzc < pH, (ii) adsorbent surface reflects positive charge if pHpzc > pH, and (iii) adsorbent surface is neutral if pHpzc = pH [63]. In the present study, pHpzc of CFSB was 5.4, hence at pH 2, the surface of prepared CFSB was positively charged and it attracts the ionic form of RhB dye and led to enhanced adsorption [64]. The FTIR results confirm stretches of carbonyl, hydroxyl, methylene and methyl groups on CFSB, it indicates presence of carboxylic acids, esters, ketones in their structure. Hence, low pH promotes hydrogen bonding of carboxyl and tertiary amine groups of RhB dye molecules and gets protonated to oxygenated groups and show polar behaviour [57]. At high pH, deprotonation of benzoic acid of RhB dye takes place and it promotes change in the charge on RhB dye molecule from positive to negative [65]. Besides, rise in pH tends to dissociate phenolic hydroxyl groups of CFSB, thus, repulsion between CFSB and RhB dye having the same net charges [66]. Ren et al. [67] reported that molecules of RhB dye shows cationic form at less pH < 3, and zwitterion form at pH > 5.0. Due to deprotonated form of -COOH groups on RhB dye, transformation from cationic to zwitterionic or dimer form may occur which in turn leads to electrostatic repulsion between RhB dye and negatively charged CFSB, thus reducing its adsorption capacity. Mousavi et al. [68] recorded maximum 89% removal of RhB dye at pH 3 by stalk corn activated carbon.

Similar findings were reported by earlier researchers in which reduction in RhB dye sorption was reported with biochar of walnut shells [69] and Casuarina equisetifolia needles [21] with rise in pH value. Khan et al. [70] reported 98% RhB removal at pH 3.6, after 27 min by polymeric Dowex. Wu et al. [71] recorded more elimination of RhB dye at pH 4.69.

3.3.2 Size of particle

The size of biochar particles influence heat rate and mass transfer of particles. Three different CFSB particle sizes 0–170, 230–300 and 320–500 µm were utilized to assess particle size effect on RhB dye adsorption. Figure 3(a) reflects both effect of pH (2–10) and three different CFSB particle sizes on removal of RhB dye. First bar indicates pH and subsequent 3 bars are presenting three different CFSB particle sizes (0–170 μm, 230–300 μm and 320–500 μm). With decrease in CFSB particle size, RhB dye uptake enhanced, due to large surface area on small sized particles increased uptake of RhB (Fig. 3a). The diffusion resistance towards mass transmission was higher for big CFSB particles, inner surface could not applied for dye uptake, therefore low sorption of RhB was reported.

3.3.3 Contact time

RhB dye uptake at distinct exposure time and subsequent time to obtain uptake equilibrium is important factor for uptake [72]. For assessment of contact time, we selected CFSB particle size (0-170 μm), adsorbent dose (1–3.5 g) and pH 2. Elimination of RhB dye (250 mg/l) 58, 69, 82 and 94% was observed at 20, 40, 60 and 80 min, respectively. Driving pressure of concentration gradient between CFSB and RhB dye was more and rate of sorption was high at initial contact period. Uptake of RhB dye was fast during initial 80 min, continuously lowered and finally obtained equilibrium after that dye uptake was significantly reduced (Fig. 3b). As time progressed, RhB dye molecules gradually filled adsorbent active sites, vacant spaces which were available initially, with rise in time RhB dye molecules were entered in spaces and all the sites were filled and uptake of dye become arduous and increasing trend of dye uptake get reduced.

3.3.4 Adsorbent amount

Dose of adsorbent is an important factor for determination of sorption efficacy of adsorbent. To find out the optimal adsorbent dose, impact of various amount of CFSB on RhB dye removal was investigated (Fig. 3c). Rhodamine B dye elimination efficiency was increased rapidly from 67–92% with increasing amount of CFSB from 1–2 g. It was because of binding sites availability which facilitate dye adsorption process. The adsorbent dose affects dye and biochar equilibrium in sorption process. Maximum 92% RhB dye removal was reported with 2 g CFSB. With rise in biochar dose, surface area and availability of binding sites enhances dye uptake capacity of CFSB. However, rise in amount of CFSB above optimum level, RhB dye elimination efficiency did not reflect any notable changes. It was because of CFSB particles compacted together or cluster formation by molecules of dye or overlap of sorption spaces which cover the pores and vacant sites were not available for dye uptake hence decreased dye elimination efficacy [73]. Decolorization of RhB dye solution was enhanced from 37—84%, when animal bone meal adsorbent dose was enhanced from 10 to 90 mg [74].

3.3.5 Dye concentration

Initial dye concentration plays pivotal function for effective adsorption process. Rise in dye concentration in solution enhances mass gradient between RhB dye solution and CFSB, acts as a driving force for dye molecules movement towards CFSB surface from solution [75]. Concentration gradient force could not push RhB molecules to drag via transfer resistance between RhB and CFSB at low concentration of dye, unoccupied spaces were accessible for dye uptake on CFSB, these results were retracted with rise in concentration of dye.

Elimination of RhB dye was enhanced with increase in concentration of RhB dye, but with high amount of RhB dye, rate of dye uptake was decreased (Fig. 3d). Maximum 93% RhB dye sorption was reported with 250 mg/L dye. Dye uptake was decreased, if RhB dye concentration further raised, reflected that sorption rate was restricted with high concentration of RhB dye. The RhB dye sorption was enhanced significantly at initial step, which was because of accessibility of unoccupied functional groups on CFSB surface [35]. Sorbent has fixed number of functional groups which saturate at certain concentration, and RhB dye in solution do not attach to active spaces on CFSB or RhB dye aggregation onto solid phase [76]. Reduction in dye uptake capacity with increase in RhB dye concentration might be because of competition between dye ions for unoccupied spaces available for dye uptake. Saigl and Ahmed [77] reported by enhancing concentration of dye from 0.5 to 80 mg/l, RhB dye elimination efficacy was reduced from 98 to 30%.

3.3.6 Speed of agitation

RhB dye removal was increased with rise in speed of agitation (50–300 rpm) as observed in Fig. 3e. The increase in agitation speed decreases boundary layer obstruction for RhB dye transfer to CFSB from solution [78]. With rise in agitation speed, interaction between RhB dye molecule and CFSB particles were enhanced because of rise in dispersion degree of CFSB in solution of dye. High agitation speed requires high energy and significant rise in RhB dye removal was not recorded at 250 and 300 rpm and 200 rpm agitation speed was optimum speed which reflected 91% RhB dye uptake.

3.3.7 Temperature

Rhodamine B dye uptake on CFSB was reported at different temperature such as 30, 35, 40, 45, 50 and 55 °C. Rhodamine B dye exhibited 55, 66, and 75% sorption at 30, 35, 40 °C respectively, highest 93% RhB dye removal was recorded at 45 °C (Fig. 3f). Enhanced RhB dye elimination was reported at high temperature because of increase in mobility of RhB molecules by rise in temperature and binding sites availability. With increase in reaction temperature, biochar surface area increases due to reduction in oxygen-containing functional groups from its surface [79]. However, RhB dye uptake was reduced at 50 and 550C, which indicated sorption procedure was controlled by heat generation. This might be attributed to higher kinetic energy of RhB dye molecules when the temperature increases, which can reduce the electrostatic attraction and separate RhB dye molecules from CFSB surface. Hence, very high temperature will not force the RhB dye molecules to diffuse inside the pores of CFSB. Similar findings were observed by earlier researchers. The adsorption of congo red dye onto burned root of Eichhornia crassipes reflected that physical bonding between the dye molecules and active sites of Eichhornia crassipes weaken by increasing temperature [80]. Hu et al. [81] recorded adsorption of congo red from aqueous solution by cattail root reduces with increase in temperature.

3.3.8 Point of zero charge

The point of zero charge (pHpzc) plays pivotal role in the surface characterization of adsorbent. At point of zero charge (pHpzc), both positive and negative electrical charges present onto CFSB surface are balanced. If pHpzc < pH, CFSB surface shows negative charge, if pHpzc > pH, adsorbent surface reflects positive charge and retention of negatively charged species is favoured and adsorbent surface is neutral if pHpzc = pH [63]. In the present study, pHpzc of CFSB was 5.4 (Fig. 4), hence at pH 2, the surface of prepared CFSB was positively charged and it attracts the ionic form of RhB dye and led to enhanced adsorption [64]. The deprotonation of carboxylic acid groups on RhB dye, assists transformation of its cationic to zwitterionic form which may lead to electrostatic repulsion between RhB dye and negatively charged CFSB, thus reducing its adsorption efficacy.

Fig. 4
figure 4

A graphical plot of the point of zero charge of CFSB

3.3.9 Adsorption kinetics

Kinetic investigation was applied to assess sorption rate of RhB dye by CFSB and sorption process mechanism. Sorption kinetics explains how resistance to mass transfer takes place between CFSB and RhB dye molecules. Three models such as PFO, PSO and WMID were used to predict sorption kinetics involved in RhB dye adsorption and possible rate-controlling steps through fitting experimental results. Fast sorption of RhB dye was reported at the beginning of experiment, which was significantly reduced after 80 min due to saturation of available vacant sites onto biochar [29]. The pseudo-first order equation is based on the assumption that physisorption limits adsorption rate of particles onto the adsorbent, whereas in pseudo-second order model, chemisorption is considered as rate-limiting mechanism of process. The coefficient of determination (R2) were 0.6888, 0.8803 and 0.769 for PFO, PSO and WMID models, respectively. Because of low value of R2 and difference in experimental data and measured equilibrium sorption reflected PFO and WMID models could not define kinetics for adsorption mechanism (Table 3). It is clear that the pseudo-second order kinetic model exhibited excellent linearity with high correlation coefficient (R2 = 0.8803) as compared to PFO and WMID kinetic models. Pseudo second order kinetic model had a larger correlation coefficient which reflected correlation with kinetic results (Fig. 5).

Table 3 Kinetic model application for sorption of RhB dye on CFSB
Fig. 5
figure 5

(a) Pseudo first (b) Pseudo second (c) Weber-Morris intraparticle diffusion model for sorption of RhB dye on CFSB

In comparison to other models, PSO kinetic model reflected as best fit to explain uptake process of CFSB for RhB dye [16]. Hence, PSO kinetic model was observed as suitable model during RhB dye uptake by coconut fruit shell biochar Findings of present investigation reported that adsorption process was chemisorption [35].

3.3.10 Adsorption isotherm

Adsorption isotherm is applied to reflect adsorbate molecules state and their diffusion across solid and liquid phases [82]. The isotherm results are utilized for determination of optimal CFSB amount and molecular proportion of RhB dye that should be disseminated in equilibrium between solid and liquid phases. Three different isotherm models like Langmuir (LIM), Freundlich (FIM) and Temkin (TIM) were used for analyses of adsorption equilibrium data. Results revealed that RhB dye was rapidly adsorbed by CFSB at low concentration, and slowly attained to saturated sorption capacity. Experimental results were fitted by LIM, FIM and TIM models and calculated variables are mentioned in Table 4. Langmuir isotherm explains surface with homogeneous active sites and sorption takes place onto a uniform site. Langmuir isotherm model’s correlation coefficient value was high as compared to Freundlich or Temkin isotherm model. Findings reflected that LIM better described sorption mechanism, suggested that equilibrium adsorption process of RhB dye by CFSB was more inclined towards monolayer sorption where all the binding sites are similar and each active site can carry single dye molecule. Langmuir isotherm model reflected high sorption capacity (qm) and it was 8 mg/g [83]. In addition, Langmuir constant (KL) reflected extent of interaction between RhB dye and surface of CFSB but less value 0.0015 L/mg showed weak interaction [84].

Table 4 Isotherm constant for RhB dye sorption on CFSB

Mei et al. [85] reported that monolayer adsorption may involve both chemical and physical sorption. Freundlich isotherm deals with multilayer sorption on a heterogeneous surface and uptake was increased exponentially with enhancement in dye concentration [67]. It focused on integrating the function of biochar and dye surface interactions. According to Freundlich isotherm model, n < 1 reflects sorption is chemical phenomenon, n = 1 sorption is linear, n > 1 sorption is physical [83]. In present study, n = 1.6287 and 1/n < 1 (reported as 0.614), hence RhB dye sorption on CFSB was favourable, confirming that adsorption was physical process and CFSB acted as good sorbent. The high KF value indicated more sorption capacity of CFSB.

Temkin model deals with indirect effect of dye and biochar interaction on dye elimination procedure. The heat exchange takes place between RhB dye and CFSB surface in TIM. Dye molecules sorption heat in layer will reduce with time and it will assist to calculate time for RhB dye molecules in the layer to be adsorbed by biochar.

TIM parameters, equilibrium binding constant (AT) was analyzed from curve slope, and heat coefficient of sorption (BT) was calculated from the intercept of curve. Because of less Temkin isotherm correlation coefficient (R2 = 0.9373) obtained while removing RhB dye using CFSB, TIM was not appropriate for estimation of temperature difference in sorption process (Table 4).

Langmuir isotherm indicated best fit as compared to FIM and TIM as reflected high correlation coefficient R2 = 0.9818 (Fig. 6). It depicted monolayer coverage of RhB dye on CFSB. As summarized in Fig. 6, correlation coefficient are as following: LIM (0.9818) > TIM (0.9373) > FIM (0.9215).

Fig. 6
figure 6

(a) Langmuir (b) Freundlich (c) Temkin isotherm for RhB dye sorption on coconut fruit shell biochar

Langmuir constant reflected values: qm = 8.0906 mg g−1, kL = 0.001516 L mg−1; Freundlich constants were KF = 1.04081, n = 1.6287 and R2 = 0.9215 and Temkin constants were bT = 5.4571 (J mole−1), AT = 1.03125 (L mole−1) and R2 = 0.9373.

3.3.11 Thermodynamic variables

The temperature has significant effect on adsorption efficiency. Effect of sorption temperature like 30, 35, 40, 45, 50 and 55 °C on RhB dye removal was analyzed by thermodynamic parameters. Thermodynamic analysis was executed to analyse enthalpy (ΔH0), entropy (ΔS0), Gibbs free energy (ΔG0). Natural log of kd versus 1/T was plotted, from which thermodynamic variables were measured and listed in Table 5.

Table 5 Thermodynamic parameters for RhB dye uptake with CFSB

Negative value of ΔG° at different temperature reflected that adsorption phenomenon was favourable and spontaneous, and in agreement with our results of kinetic as well as isotherm studies. Negative ΔH° value (-32.039 kJ mol1) showed exothermic nature of process and physisorption with energy exchange between system and solution. In exothermic process, heat release into solution raise temperature of the medium and impede liquid sorption onto biochar matrices [86]. It also describes decrease in sorption efficiency of RhB dye onto CFSB by increasing temperature. However, this kind of surface interaction promotes dye molecules recovery during desorption process. Positive ΔS0 (92.802 J K−1) value implied enhanced disorder and randomness at boundary of solid/liquid for RhB dye uptake. Positive value of entropy indicated that interactions between solute and solvent in aqueous solution was strong as compared to interactions between RB dye and CFSB which suggests structural modifications in dye and biochar during sorption process [87].

3.3.12 Adsorption mechanism

The adsorption of RhB dye on CFSB surface is regulated by various processes such as surface properties and availability of functional groups on CFSB surface, diffusion of RhB dye onto CFSB and interaction between dye and adsorbent [88]. Three main stages are involved in adsorption process (i) transfer of RhB dye molecules from bulk solution to CFSB boundary layer via external or film diffusion, (ii) RhB dye relocation into the interior of CFSB via intra-particle diffusion, and (iii) adsorption of RhB dye into CFSB pores. In the present investigation, maximum 96% RhB dye (250 mg/L concentration) removal was reported at pH 2 by CFSB. At low pH, CFSB surface was positively charged which attracts the ionic form of RhB dye and led to increased dye adsorption.

Combining the results of both adsorption and FTIR analyses, as well as based on RhB dye structure being planar with aromatic rings, we propose that adsorption mechanism between CFSB and RhB dye molecules include pore-filling, electrostatic, n-π interaction and hydrogen bonding [89]. The proposed adsorption mechanism is presented in Fig. 7. The FTIR results show absorption band at 3405 cm−1, due to the -OH group stretch, which shows presence of phenolic compounds and alcohol groups in the CFSB. The phenolic hydroxyl groups on the surface of CFSB are expected to increase π − π interactions and these dispersive interactions between aromatic rings of RhB dye and CFSB may be the primary mechanism for high adsorption capacity of CFSB for RhB dye. The stretching peaks in the range of 1505 cm−1 to 1511 cm−1 correspond to the π (C = C) bonds from different sources, including aromatic rings [90].

Fig. 7
figure 7

Adsorption mechanism between RhB dye and CFSB

The acidic pH promotes hydrogen bonding of carboxyl and tertiary amine groups of RhB dye and gets protonated to oxygenated groups and reflect polar behaviour [57]. In addition to this, after RhB dye adsorption, two adsorption bands shifted to 1726 and 3407 cm−1, respectively clearly indicate involvement of C = O and –OH groups in RhB dye adsorption, consistent with the electrical attraction between RhB dye and CFSB. The adsorption band at 2923 cm−1 shows presence of alkyl groups whereas band at 1732 cm−1 reflects carbonyl stretch, hence CFSB material is rich in carboxylic acids, ketones and esters. The FTIR spectrum reflects adsorption band at 1607 cm−1, showing presence of C = C linkages from various sources including aromatic rings. Additionally, intraparticle diffusion model suggests that some other mechanisms are also involved in RhB dye adsorption onto biochar. Hence, physical adsorption was carried out by Van der Waals, hydrogen bonds, n-π interactions, polar and steric interactions whereas chemisorption involves electrons sharing between RhB dye and CFSB surface by forming a chemical bond [28]. Therefore, synergy between hydrogen bonding, n-π interaction and pore diffusion play an important role in adsorption of RhB dye onto CFSB.

3.3.13 Regeneration analysis

Reutilization of sorbent plays pivotal role for assessment of viability of biochar material. A good adsorbent requires renewability to obtain maximum utilization, besides high contaminants uptake efficiency. Reutilization of sorbents can decrease expenses on adsorption process, energy exhaustion for development of feasible materials and check further contamination. The alkaline and acidic reagents were used to desorb RhB dye from surface of CFSB as negative and positive functional groups were available in solution of RhB dye. Reutilized CFSB showed 88, 73, 64, 52 and 43% dye adsorption efficacy up to five cycles, respectively (Fig. 8). Reduction in RhB dye uptake efficiency was recorded after first cycle, thefast reduction in sorption efficiency may be due to blockage of adsorption sites on microspores of CFSB surface or RhB dye desorption from biochar surface. Hence, CFSB can be reutilized successfully for removal of RhB dye.

Fig. 8
figure 8

Removal of Rhodamine B dye by CFSB upto five successive cycles

3.3.14 Phytotoxicity assessment

Impact of RhB dye was evaluated prior and after treatment of CFSB on growth and biochemical attributes of Vigna radiata var. Virat. Three sets were used for experimental purpose i.e. in control application of deionized water and in second and third set, solution of RhB dye (250 mg/l), CFSB treated solution of RhB dye were utilized for treatment of seeds of mung bean. Highest 97% mung bean seeds were germinated in control and only 13% germination was reported with RhB dye (250 mg/l). Vigna radiata demonstrated 82% germination with RhB dye solution treated with CFSB. A 4 and 10.45 cms radicle and plumule length were recorded in control which were reduced to 0.85 and 2.63 cms with treatment of RhB solution. The seedling length and vigour index of Vigna radiata reflected given order: Control (deionized water) > CFSB treated solution of RhB dye > RhB dye solution (Table 6). Highest biomass of Vigna radiata seedlings was observed in control and 68 and 77% reduction in fresh and dry weight was reported with RhB dye solution over control. Highest pigment, sugar and protein contents were recorded in Vigna radiata seedlings in control. Treatment of mung bean seedlings with Rhd B dye solution reflected 66, 72 and 77% decrease in chlorophyll, sugar, protein contents, respectively over control. Table 7 shows decrease in biochemical constituents of Vigna radiata was because of unfavourable effects of RhB dye on biochemical mechanism of plants [29, 91].

Table 6 Impact of RhB dye solution before and after CFSB treatment on germination and growth variables of Vigna radiata variety Virat
Table 7 Impact of RhB dye solution before and after CFSB treatment on biochemical variables of Vigna radiata L. variety Virat

3.3.15 Coconut fruit shell biochar performance

Dye uptake capacity (qmax) of CFSB for RhB dye was compared with various studies conducted by earlier researchers (Table 8). Different materials showed difference in RhB dye sorption efficacy under various experimental conditions because of variation in surface area, pore size, presence of binding sites etc. Present investigation reflected that RhB dye uptake capacity of CFSB is better as compared to another sorbents, thus CFSB can be applied as sustainable alternative for RhB dye uptake.

Table 8 Adsorption ability (qmax) of RhB dye with different adsorbents

4 Conclusion

The present investigation clearly reported that CFSB significantly eliminated RhB dye and acts as sustainable tool as compared to other available techniques. Through surface characterization of CFSB, availability of functional groups indicate the possibility of interaction with RhB dye through hydrogen bonds, electrostatic and n-π interactions.

RhB dye adsorption results were in best agreement with Langmuir in comparison to Freundlich and Temkin model. Kinetics for sorption reflected rate of dye uptake was best fit with pseudo second order model. Negative ∆H0 reflected that sorption phenomenon was exothermic. CFSB significantly adsorbed RhB dye up to five successive cycles, however reduction in dye uptake onto CFSB was observed after first cycle during regeneration analysis. Therefore, CFSB can be applied as reliable sorbent for RhB dye removal from aqueous medium and reutilization of waste effluent. Compared to the untreated RhB dye effluent, CFSB treated RhB dye solution reflected good results by increasing growth and biochemical components of Vigna radiata seeds. But these results are far inferior when compared to the control.

Therefore, agro-waste based green adsorbents are economical, environment-friendly and affordable which may provide viable solution for removal of dye contaminants and promote waste to wealth strategy by achieving the sustainable development goal of treating waste with waste. The findings of present investigation would lead to better understanding for development of modified biochar with enhanced sorption capacity by tailoring the functional groups for effective dye effluent decolorization for environment protection.