1 Introduction

With the growth of population around the world, there is an increasing necessity for manufactured products, foodstuffs, clothes, and others. The production of these industrialized products generates several organic and inorganic pollutants in different concentration ranges that could be released into the environment without any treatment or whose treatment is not suitable for complete removal before its disposal to waters [1].

Recently, new hazardous pollutants, called emerging contaminants (ECs), have featured in the scientific community [2,3,4,5]. ECs can be understood as any microorganism and any synthetic chemical or naturally occurring that is not conventionally quantified in the environment with possible ecological or health effects to humans [2,3,4,5]. The ECs consist of pharmaceuticals, personal care products, hormones, fuel additives, oil additives, flame retardants, pesticides, surfactants, plasticizers, solvents, and different industrial chemicals [1,2,3,4,5].

Most ECs come from industrial and municipal wastewater treatment plants, which are unable to remove these chemicals by the traditional treatment that cannot remove low concentrations of these chemicals [6, 7].

Different methods for treatment of wastewaters and waters containing ECs, for instance, biological treatments [8, 9], advanced oxidative process (AOP) [10,11,12,13], separation by membranes [7, 13,14,15], and adsorption [16,17,18,19,20,21] were reported elsewhere. Notwithstanding, many of the abovementioned treatment methods have some shortcomings, such as the generation of sludge as byproducts and the high initial costs for implementation [1, 5]. On the other hand, adsorption used as a unit operation in the treatment of wastewater containing ECs shows some merits, such as the simple operation and low initial cost for execution [2, 20].

Among the most used materials employed for adsorption of ECs from aqueous media, the activated carbon (AC) appear as the best one due to some important characteristic such as high specific surface area and a high volume of pores. Those properties confer to AC outstanding adsorption capacities [20, 21]. AC adsorbents are produced from a different kind of carbon precursors [19,20,21,22,23,24,25], that generate carbon adsorbents with different quality and textural characteristics.

Using biomass residues in the preparation of porous materials such as activated carbons has risen considerably in the past years. Among the most used residual biomasses for the preparation of porous ACs are fruit wastes [20,21,22], pod wastes [19], pasturage [23], peat [24], and organic sludges [24, 25], and others.

Although the use of different plant biomasses has been used for the preparation of different activated carbons, the field of preparation of new carbon materials for the removal of emerging contaminants is still a fruitful area. In this research, the use of residual biomass of the shell of the cashew of Para (SCP) is proposed as a precursor for the fabrication of AC to valorize this waste-biomass, which is generated in high amounts and have no practical use in Brazil [26, 27]. The cashew of the Para residue comes from a tree known as Bertholletia excels, originating from the Amazon forest [26, 27]. Over 330 million ha compose the boscages distributed among South American countries. In Brazil, the tree Bertholletia excels has the largest occupied area [26, 27].

The 4-bromophenol (4-BrPhOH) and 4-chloroaniline (4-ClPhNH2) are the emerging contaminants chosen for this study [28]. According to NORMAN, a network of research centers, laboratories, for monitoring of ECs [28], the 4-chloroaniline (4-ClPhNH2) and 4-bromophenol (4-BrPhOH) are listed as the position 488 and 544, respectively, from a list of 1036 emerging contaminants that were cataloged by this research group [28].

4-Chloroaniline is a chemical intermediate primarily employed in the industries of production of pharmaceuticals and drugs, pesticides, and dyes [29]. 4-Chloroaniline is a noxious and hazardous substance that presents some degree of carcinogenicity [29, 30]. It is produced on a large scale; globally, there is potential for human exposure, therefore, characterizing the initiating toxicological event and adverse outcome pathway for tumor development following exposure to 4-chloroaniline is of significant value for human health risk assessments [29, 30].

4-Bromophenol is dispensed in wastewaters of flame retardants, wood preservatives, pesticides, dyes industries [10]. This compound is a non-biodegradable and toxic organic compound [10, 28]. 4-Bromophenol has shown severe impacts on the ecosystem due to its carcinogenic, mutagenic, and genotoxic behavior [10]. Concerns about 4-bromophenol have been increased because of their persistence and bioaccumulation in animals, humans, and plants [10, 28].

This paper aims to study the feasibility of the production of suitable porous-activated carbon from biomass residue for efficient 4-ClPhNH2 and 4-Br-PhOH removal. This research is subdivided into two parts:

  1. 1.

    Production of the porous-activated carbon (AC) from SCP using zinc chloride as the activating agent and following by carbonization in a conventional heating furnace. It is obtained a carbon material with excellent physicochemical properties in terms of porosities and high SBET values. The chemical composition of the activated carbon presents different functional groups that confer hydrophilicity to the material.

  2. 2.

    Application of the produced AC as adsorbent into the removal of 4-ClPhNH2 and 4-Br-PhOH emerging contaminants from aqueous media as well as to test the effectiveness in the treatment of simulated industrial wastewater having many ECs.

2 Materials and methods

2.1 Reagents

The chemical reagents (ZnCl2; HCl, NaOH) used in this study were of analytical grade (Neon, São Paulo, Brazil) and used as received. The emerging contaminants 4-chloroaniline (4-ClPhNH2) and 4-bromophenol (4-BrPhOH) were procured from Acros (New Jersey, USA). The preparation of all solutions was carried out with distilled water. Nitrogen 99.99% was supplied by White Martins (Canoas, Brazil).

2.2 Preparation process of activated carbon

The preparation process of the activated carbon was as following: First, around 90.0 g of the shell of cashew of Para (SCP) was grounded (ϕ < 250 µm) and blended with 135 g of ZnCl2 dissolved in 70 mL of water. These components were mechanically mixed to form a paste [31]. After drying it at 90 °C for 2 h, the mixture was introduced in a quartz reactor in a ceramic oven. Then, the reactor was heated from 25° up to 700 °C at 10 °C min−1 under an N2 flow rate of 200 mL min−1. The temperature of the furnace was kept fixed at 700 °C for 30 min. Subsequently, the system was chilled under 150 mL min−1 of N2 gas flow until the system attains < 200 °C. To leach-out, the inorganics from the carbonized material, a 1:1 HCl solution was added to a known quantity of the obtained material under reflux (60 min) [31, 32]. The carbon material after the leaching-out was denominated as SCP700.

2.3 Analytical techniques used for characterization

Isotherms of adsorption and desorption of N2 (at − 196 °C) were recorded by a volumetric analyzer furnished by Micromeritics (TriStar II 3020) for obtaining the superficial area, total pore volume, and pores size distribution. Before running the experiment, the sample was degassed under vacuum at 150 °C. The determination of SBET (specific surface area) was found, as shown elsewhere [33], and the PSD (pore size distribution) was calculated by using the DFT method [34].

The identification of the surface and bulk functional groups of the SCP700 was carried out by FTIR, using an IZ10 Nicolet spectrophotometer [21].

Elemental analysis (CHN/O) was performed with a Thermo Fisher Scientific analyzer (FlashSmart) to quantify the proportions (%) of C, H, N, and O in the SCP700 sample [19].

The thermal stability of the SCP700 carbon was studied from 20 to 800 °C under inert nitrogen gas (10 °C min−1), and from 800 to 1000 °C, under oxygen gas. The method used was TGA, and the equipment was analyzer instrument, TA model SDT Q600.[23].

The hydrophobicity/hydrophilicity property (HI) was obtained as recommended elsewhere [17, 21].

Scanning electron microscopy (SEM) analysis of the activated carbon was obtained using a JSM-6610LV Jeol microscope [35].

The pHpzc (point of zero charge) of the adsorbent was obtained as described elsewhere [20, 21]. The total amount (mmol g−1) of basic and acidic groups of the SCP700 carbon was obtained by the Boehm titration method [21, 36].

2.4 Adsorption experiments

The adsorption studies were carried out using the SCP700-activated carbon and 4-BrPhOH and 4-ClPhNH2 as sorbing species [37, 38]. The details about the experiment are found in the supplementary material.

The amount of 4-BrPhOH and 4-ClPhNH2 before and after the adsorption was carried as described elsewhere [39,40,41,42,43].

The nonlinear models were used to fit the experimental data, and the subsequent validation was realized using R2 adjusted, the Bayesian information criterion (BIC), and standard deviation (SD) [44, 45]. The further details are explained in the supplementary material.

2.5 Models of kinetic and equilibrium of adsorption

The kinetic adsorption models of Avrami fractional-order, pseudo-first-order, pseudo-second-order were employed to analyze the obtained data.

The equilibrium data were fitted with the Freundlich, Liu, and Langmuir isotherm models. The further details, as well as the equations, are shown the supplementary material [44].

2.6 Thermodynamic studies

The thermodynamic studies were carried out at different temperatures, and the data were analyzed as previously established [44, 46]. The further details, as well as the equations, are given in the supplementary material.

2.7 Synthetic industrial wastewaters

Four synthetic wastewaters containing several inorganic and organic compounds were prepared to study the efficiency of the adsorbent for treating industrial wastewater (Table 1). The composition of organic and inorganic species usually found in industrial wastewaters is shown in Table 1.

Table 1 Composition of the synthetic wastewaters

3 Results and discussion

3.1 Isotherms of adsorption and desorption of nitrogen

The N2 adsorption and desorption isotherms of SCP700 is depicted in Fig. 1. SCP700 sample displays the type Ib of isotherm model, according to IUPAC [33]. This isotherm reveals that the SCP700 has pore size distribution incorporate in a broad range composing of pores within 1.0–2.0 nm (wider micropores) and narrow mesopores (< 7.0 nm). This characteristic is adequate for the removal of some contaminants by adsorption process since microporous materials present a remarkable effect on the uptaken of short molecules [32].

Fig. 1
figure 1

Textural characteristics of SCP700-activated carbon obtained using the DFT method. Isotherm of adsorption and desorption of N2; inset curve: pore size distribution curve

The inset of Fig. 1 shows the pore size distribution curve of the SCP700 material obtained using the DFT method [34]. SCP700 does not exhibit micropores < 1 nm. It is possible to see that the SCP700 carbon showed a proportion of micropores in the interval of 1.0–2.0 nm and, also, a considerable proportion of mesopores in the interval of 2–6 nm. Based on this result, SCP700 is a material with microporous and mesoporous. For pores size < 1 nm, there is no cumulative volume of pores (0.0 g cm−3). From 1 to 2 nm, the cumulative volume of pores is 0.392 g cm−3. From 2 nm up to 31.8 nm (extended scale of the volume of pores, not shown in Fig. 1), the cumulative volume of pores is 0.341 g cm−3. Considering that the total volume of pores is the sum of the volume of pores accumulated in the different regions of pore size distribution [36], the total pore volume of SCP700 is 0.733 g cm−3. From this accumulated gas volume adsorbed, 45.5% is due to the micropores, and 53.5% is due to the volume of mesopores.

The specific surface area (SBET) of SCP700 is 1520 m2 g−1. Using DFT analysis, the total area of pores is 878 m2g−1, then the external surface area is 642 m2g−1. Therefore, the contribution of pores to the total surface area is 57.8%, while the contribution of the external surface for the total area is 42.2%.

Mondal and Majumder [47], performed a procedure of chemical activation of tea wastes using H3PO4 as an activating agent, obtaining an activated carbon with an SBET of 1329 m2g−1 and a total pore volume of 0.417 cm3 g−1. Bhomick et al. [48] prepared activated carbon from evergreen biomass and chemical activation using KOH. They obtained an activated carbon with an SBET of 1006 m2 g−1, and a total pore volume of 0.491 cm3g−1. Although the values of SBET and total pore volume reported by Mondal and Majumder [47] and Bhomick et al. [48], were excellent, the textural characteristics of the obtained SCP700-activated carbon was even better. Therefore, the textural characteristic of SCP700 makes this adsorbent useful for being applied as an adsorbent for the removal of emerging contaminants from aqueous effluents [19, 21, 23].

The ZnCl2, as an activating agent for the preparation of activated carbon, is responsible for the production of ACs with a high surface area [20, 32]. ZnCl2 increases the number of pores on the adsorbent by occupying a space inside the particle of carbon. After leaching-out it from the carbonaceous matrix [31, 32], it generates pores in the carbon structure. With the increase of pores, there is, as a consequence, one increase in the volume of pores, and also, the total superficial area (SBET). This property can utterly improve the active sites on the surface of the material and therefore enhance the 4-BrPhOH and 4-Cl–PhNH2 adsorption. Furthermore, the high porosity of the material favors for the fast diffusion of the emerging contaminants through the pores of the SCP700 material [31, 38].

3.2 Qualitative and quantitative functional groups

Figure 2 shows the FTIR spectra of SCP700. The intense broadband at 3435 cm−1 is assigned to OH and N–H group stretching [16, 19]. The two bands at 2922 cm−1 and 2852 cm−1 are asymmetric and symmetric stretching of C–H groups, respectively [20, 21]. The band at 1747 cm−1 is assignable to the C=O of cyclic anhydrides or carbonates [23, 25]; the peak at 1621 cm−1 is attributed to C=O stretching of carboxylate [16, 17, 25]. The small peak at 1458 cm−1 is attributed to C=C of a ring of aromatic compounds [31, 32]. The small peaks at 1387 and 1317 cm−1 are assignable to C–H bond bending or N–C stretching of amides or amines [23, 38]. The band at 1159 cm−1 is assigned to stretching of C–C–O of esther or C–O–C of ether [16, 17], and the peak 1045 cm−1 is assigned to C–O stretching of carboxylate or phenolic groups [15, 37]. The peak at 815 cm−1 is ascribed to the aromatic out-of-plan –CH bending [32].

Fig. 2
figure 2

FTIR spectra of SCP700-activated carbon. Values inside the graph are wavenumber of vibrational bands

From this result, we can observe that the SCP700-activated carbon has a wide variety of surface functional groups that could interact with emerging contaminants during the adsorption experiment by π–π interactions, hydrogen bonds, dispersion interactions, and electron donor–acceptor pair [20, 23].

As a complementarity result of FTIR—which is commonly used for the identification of functional groups on the carbon surfaces—and in bulk, the modified Boehm–titration method was utilized to find the quantities of the total basic and acidic groups present on the surface of the sample [32]. The total amount of acidity and basicity of SCP700-activated carbon was 0.2945 mmol g−1 and 0.1369 mmol g−1, respectively (see Table 2). From this result, we can observe that the quantity of acidic groups on the surface of SCP700 was higher than the basic groups—implying that utilizing zinc chloride as an activating agent in the preparation of ACs produces a material with a higher quantity of acidic groups on the SCP700 surface.

Table 2 Elemental analysis, total acidity, and basicity, and hydrophobic Index (HI) of SCP700-activated carbon in comparison with the natural shell of cashew

When applying the ratio of the total acidic group/total basic group, the value was 2.15, which indicated that the acidic groups were predominant at the carbon surface. The acidic property of the activated carbon is probably due to the presence of acidic groups found previously in the FTIR result (see Fig. 2), such as carboxylates—originally from carboxylic acids. Notwithstanding, the basic properties of activated carbon are generally attributed to the presence of nitrogen-containing groups such as amine and cyclic amides [32]. When we compare the quantity of the total acidic and basic surface functional groups, it is possible to note that the entire basic groups are much lower than the total acidic groups.

Another critical data related to the functional groups on the adsorbent surface is the hydrophobic–hydrophilic Index (HI) (see Table 2). HI shows the capacity of the material to adsorb nonpolar solvent such as n-heptane or polar solvent such as water, through London dispersive or polar interaction [17, 21]. Depending on the ratio of n-heptane to water adsorption, the material will have a hydrophobic or hydrophilic property [17, 21].

The HI of SCP700-activated carbon was 1.006, corresponding to slightly hydrophobic material, due to the presence of aromatic group and C–H groups present in bulk (see Table 2). Otherwise, SCP700 presents some hydrophilicity that could be attributed to total functional groups (acidic and basic). The groups such as carboxyl (–COOH), carbonyl (C=O), hydroxyl (–OH), amine (–NH2, –NH), and cyclic amides (O=C–NH–) present on the surface of the SCP700 could easily bound with water molecule through hydrogen-bound interaction. These characteristics are significant for the use of such material as an adsorbent in wastewater treatment of the effluents contaminated with emerging contaminants.

3.3 Elemental composition

Table 2 presents the elemental analysis, total basicity, total acidity, and hydrophobic- hydrophilic trend of SCP700 material in comparison with the natural shell of the cashew of Pará. Concerning the elemental analysis of the produced material, it is possible to observe that, initially, the natural shell of cashew exhibited 41.52% in carbon, 5.18% of H-content, and 52.62% of O-content.

However, after the carbonization and leaching processes, the C-content, and N-content increased, respectively, to 79.56% and 1.55%, while the H-content and O-content decreased drastically to 1.25% and 17.43%, respectively. It has been shown [32] that higher C-content implies that the aromatic structure is predominant after the carbonization process. In fact, during the carbonization process, ZnCl2 acts as a dehydrating agent and forms zinc oxides.

The diminution of hydrogen and oxygen amounts is ascribed to the disruption and breaking of weak oxygenated bounds within the structure of the shell of cashew biomass. This fact may lead to a reduction in O-content in the produced activated carbon. The remarkable increase of the nitrogen content can be explained by the fact that nitrogen might not wholly leave the carbonaceous biomass during pyrolysis decomposition, leading to a material slightly rich in nitrogen. This behavior could further be attributed to the fact that zinc chloride selectively took away H and O from the shell of cashew biomass rather than nitrogen and carbon.

3.4 Point of zero charge (pH pzc )

The pHpzc can be defined as a point where a specific material has zero potential charges on its surface. It is the net surface charges of the material under this point; it is positive, while it is negative above the pHpzc [32].

Figure 3 shows the pHpzc of SCP700-activated carbon. The value of pHpzc of SCP700-activated carbon was 5.73, which falls in the acidic zone. This result suggests that the acidic groups on the surface of the adsorbent are predominant. This result matched with the qualitative and quantitative functional group results, discussed in Sect. 3.3. It is also in agreement with hydrophilic property ascribed to SCP700-activated carbon.

Fig. 3
figure 3

Point of zero charge of SCP700 carbon

3.5 TGA/DTA analysis and thermal stability of SCP700

The thermal stability of the SCP700 carbon was studied from 20 to 800 °C under inert nitrogen gas (10 °C min−1), and from 800 to 1000 °C, under synthetic air gas, in other to find the ash-content of the activated carbon [49].

Figure 4 exhibits the thermogravimetric curves of the SCP700 material, which can be subdivided into four main sections of weight losses. The first section of weight loss occurring from 22.6 up to 555.2 °C, corresponds to the weight loss of the water bounded in the carbon matrix structure. Only 4.57% weight loss was observed. This loss indicates the high stability of SCP700 carbon, even after the high temperature was applied—which is unusual for the broad application of the material. The second region ranging from 555.2 to 797.2 °C, corresponds to the higher weight losses and can be attributed to the first decomposition of the carbonaceous matrix [32, 49].

Fig. 4
figure 4

TGA and DTG curves of SCP700 carbon

Meanwhile, the third region ranging from 797.2 up to 828.3 °C, corresponds to the second significant weight loss and can be attributed to the second decomposition step of the carbonaceous matrix. The percentages of the weight losses in the second and third stages of weight loss were 51.81 and 43.04%, respectively. After the third stage of weight loss, most volatile organic compounds are eliminated. The last section ranging from 828.3 up to 1000 °C, is attributed to the skeleton decomposition under the synthetic air atmosphere. The overall weight loss was 94.85%. The remaining residual mass at 1000 °C (0.37%) was inorganic ash of the SCP700 carbon.

3.6 Surface morphology of SCP700

The surface image was of SCP700-activated carbon was analyzed by Scanning Electron microscopy (SEM). Figure 5 exhibits SEM images of SCP700 carbon with a magnification of 1000× (a) and magnification of 2000× (b). The images exhibit a material with high rugosity at the surface, with tiny and heterogeneous holes, which is compatible with the presence of channels for solvent passage. These characteristics can be related to the stronger influence of zinc chloride on the shell of cashew material, as we discussed in our previous study [32, 49].

Fig. 5
figure 5

SEM images of SCP700 carbon with a magnification of × 1000 (a) and magnification of × 2000 (b)

3.7 Preliminary experiments of adsorption of 4-ClPhNH 2 and 4-BrPhOH onto SCP700 carbon and its kinetic studies

Experiments varying the initial pH of 4-ClPhNH2 and 4-BrPhOH were carried out from an initial pH of 2.0–10.0 onto SCP700-activated carbon. The results are depicted in Supplementary Fig. 3. For 4-ClPhNH2, the sorption was practically constant from pH 4.0 to 10.0 (Supplementary Fig. 3a), and for 4-BrPhOH, the sorption capacity did not change drastically from pH 2.0 to 8.5 (Supplementary Fig. 3b). 4-ClPhNH2 presents pKa 3.49 (see Supplementary Fig. 2). At high acidic pH solutions occur in the following reaction:

The protonated specie is a cation that is more soluble than the nonionic specie. As seen in Supplementary Fig. 3, the sorption capacity is lower when the cationic specie is formed, due to the competition of the cationic specie for the carbon surface and water. For further experiments, the pH of 4-ClPhNH2 was fixed at 7.0. On the other hand, for 4-BrPhOH, the sorption capacity decreased from pH 8.5 to 10.0. At alkaline medium (pKa of 4-BrPhOH is 9.09, see Supplementary Fig. 1), the 4-BrPhOH loses a proton, forming an anionic specie as depicted below:

The solubility of the anionic specie in water is drastically increased at pH > 9.09; therefore, there is a competition of the anionic specie between the carbon surface of SCP700 and the water. This behavior explains the drop in sorption capacity. In further experiments, the initial pH of 4-BrPhOH was fixed at 7.0.

The kinetic studies of 4-BrPhOH and 4-ClPhNH2 adsorption onto SCP700 carbon were explored using three nonlinear kinetic models: pseudo-first-order, pseudo-second-order, and Avrami fractional-order. The fitting parameters of the models and kinetic curves are shown in Table 3 and Fig. 6, respectively.

Table 3 Kinetic parameters of Avrami fractional-order, pseudo-first-order, and pseudo-second-order adsorption of 4-ClPhNH2 and 4-BrPhOH onto SCP700 carbon
Fig. 6
figure 6

Kinetics curves of adsorption of 4-ClPhNH2 and 4-BrPhOH onto SCP700 carbon. a 500 mg L−1 of 4-ClPhNH2; b 1000 mg L−1 of 4-ClPhNH2; c 500 mg L−1 of 4-BrPhOH; d 1000 mg L−1 of 4-BrPhOH. The temperature was fixed at 25 °C, adsorbent dosage 1.5 g L−1, initial pH of 7.0

The results showed that the adsorption process was rapid and reached the equilibrium in the first 10 min when the concentration of both 4-BrPhOH and 4-ClPhNH2 solutions was 500 mg L−1. When double the concentration (1000 mg L−1), no significant changes were observed on the equilibrium time. Therefore, the concentration in this study does not affect the equilibrium time.

Considering the SD, R2adjusted, and the BIC values of the three kinetic models used to fit experimental data, the Avrami fractional-order appeared as the best one, which described the adsorption phenomena. The best-fitted model is the one that presents R2adj closer to 1.000, lower values of SD, and lower values of BIC. The R2adj were 0.9995 and 0.9997 for 4-BrPhOH and 0.9995 and 0.9999 for 4-ClPhNH2, respectively, at 500 mg L−1 and 1000 mg L−1, for the Avrami fractional-order model. On the other hand, the SD values were 1.925 mg g−1 and 0.7173 for 4-BrPhOH and 0.5973 and 0.2704 mg g−1 for 4-ClPhNH2, respectively, at 500 mg L−1 and 1000 mg L−1. These values were lower and almost close to zero compared to the two other kinetic models. The same trend was observed with the Bayesian information criterion (BIC) values, which are lower for the Avrami fractional-order model compared to the two other models. When the difference of BIC values is higher than 10, it means that the model with lower BIC values is certainly the best-fitted model [45]. The differences between BIC values of Avrami fractional-order and pseudo-first-order were within 27.9–71.6, and for Avrami fractional-order and pseudo-second-order were within 44.5–114.6. These so significant differences of BIC values guarantee that Avrami fractional-order indeed explains the kinetics of adsorption of both adsorbates on the chosen adsorbent.

The t0.95 (min), which is the time where 95% of the saturation was achieved, were 6.449 and 7.207 min for 4-BrPhOH and 6.084 and 5.922 min for 4-ClPhNH2, respectively, at 500 mg L−1 and 1000 mg L−1, for the Avrami fractional-order model. This time shows that both 4-BrPhOH and 4-ClPhNH2 molecules adsorbed very quickly onto SCP700 carbon. At the initial concentration of 500 mg L−1, no significant difference was observed for the adsorbed amount. Notwithstanding, it is possible to observe the difference in the adsorption capacity (qe). 4-ClPhNH2 showed a relatively high adsorbed amount (475.4 mg g−1) compared to 4-BrPhOH (317.5 mg g−1) when the solution had an initial concentration of 1000 mg L−1 (Table 3). The t0.5 (min), which is the time where 50% of the saturation was achieved, was also analyzed. The t0.5 (min) was less than 1 min for 4-BrPhOH and less than 2 min for 4-ClPhNH2 (see Table 3). The further experiments were carried at the equilibrium time > 10 min for a convenient perspective and to ensure the whole interaction between emerging organic contaminants and SCP700 adsorbent.

3.8 Isotherm studies of 4-BrPhOH and 4-ClPhNH 2 adsorption onto SCP700 carbon

The isotherm study gives information about the relationship between 4-BrPhOH and 4-ClPhNH2 adsorbed onto the SCP700 carbon phase and the amounts of adsorbates in the solution when the adsorption process reached the equilibrium [31]. The fitted parameters of the three models are shown in Table 4.

Table 4 Adsorption parameters of the Liu, Freundlich, and Langmuir isotherm models for the removal of 4-ClPhNH2 and 4-BrPhOH onto SCP700 carbon

The experimental procedure of the isotherms data was carried out varying temperatures between 10 and 45 °C, initial pH of 4-BrPhOH, and 4-ClPhNH2 solutions was 7.0, and adsorbent dosage was 1.5 g L−1; and the time of contact between the sorbing specie and the adsorbent of 30 min. Figure 7 shows the isotherms of adsorption of 4-ClPhNH2 and 4-BrPhOH at 25 °C. Table 4 shows the fitting parameters of 4-BrPhOH and 4-ClPhNH2 adsorption isotherm onto SCP700 carbon at various temperatures.

Fig. 7
figure 7

Isotherms of adsorption of 4-ClPhNH2 and 4-BrPhOH onto SCP700 carbon at 25 °C. a 4-ClPhNH2; b 4-BrPhOH. Conditions adsorbent mass of 30 mg; initial pH 7.0. Time of contact of 30 min

Based on SD values, BIC values, and R2adj, Liu's model was the most suitable for describing the equilibrium data of adsorption of both 4-BrPhOH and 4-ClPhNH2 onto SCP700 carbon at all temperatures (see Table 4).

The Liu model showed the lowest SD values that mean that their theoretical qe values are closer to those experimentally found qe (see Table 4). For 4-BrPhOH, the SD values of the Liu model ranged from 0.2800 to 1.236 mg g−1, while for Langmuir ranged from 4.519 to 8.582 mg g−1, and Freundlich from 13.23 to 20.23 mg g−1. For 4-ClPhNH2 adsorbate, the SD values of the Liu model ranged from 0.1036 to 0.3465 mg g−1, while ranged from 0.3918 to 11.53 mg g−1 and from 15.45 to 40.05 mg g−1 for Langmuir and Freundlich respectively. These data are also supported by the R2adj, which was almost 1.000 for both molecules at all temperatures.

The BIC values match with the SD values and the R2adj, strengthening the arguments for the suitability of the Liu model for 4-chloroaniline (4-ClPhNH2) and 4-bromophenol (4-BrPhOH) adsorption onto SCP700 material. The BIC is commonly used to compare different models with different numbers of parameters. When the difference of BIC values is > 10 [45], the model having the lowest BIC value is the best model to be chosen. From Table 4, it is possible to see that the ΔBIC values between Liu model and Langmuir and Liu model and Freundlich model were always higher than 10 for both 4-chloroaniline (4-ClPhNH2) and 4-bromophenol (4-BrPhOH). It is worth to notice that all the BIC values of the Langmuir and Freundlich models were positive, ranging from 82.13 to 103.5 and 101.1 to 117.99, respectively, for 4-BrPhOH, and from 10.44 to 125.9 and 116.2 to 149.2, respectively, for 4-ClPhNH2 (see Table 4). Notwithstanding, all the BIC values of Liu’s model were negative for both molecules.

It is crucial to notice that the adsorption capacity (Qmax) of both adsorbates was increased as the temperature also increased. When varying the temperature from 10 to 45 °C, the Qmax values increased from 473.8 to 488.2 mg g−1 and from 464.9 to 552.5 mg g−1, respectively, for 4-BrPhOH and 4-ClPhNH2. However, it is possible to observe the difference in adsorption capacity (Qmax). As previously discussed in Sect. 3.7, 4-ClPhNH2 shows a relatively high adsorbed amount compared to 4-BrPhOH when the temperature increased, due probably to the possible more interaction with surface functional groups of the adsorbent.

3.9 Adsorption thermodynamics

Adsorption thermodynamics is a crucial tool to deduce whether the adsorption process is spontaneous or not. For that purpose, both entropy and energy variations should be taken into account. Calculations of the thermodynamic parameters were by the plot of Ln(K) versus 1/T, allowing to obtain ∆S° and ∆H° values, respectively [46].

The changes in Gibbs free energy (∆G°) and enthalpy (∆H°) for the increase in temperature is an essential indicator to justify whether the adsorption of 4-ClPhNH2 and 4-BrPhOH onto SCP700 carbon was spontaneous and had an exothermic or endothermic nature, respectively [49, 50].

To infer the abovementioned thermodynamic adsorption parameters of 4-ClPhNH2 and 4-BrPhOH onto SCP700 carbon, experiments were carried out at different temperatures from 283 to 318 K (10–45 °C), and the values are reported in Table 5. More details about the calculation method of the parameters are found in the supplementary material.

Table 5 Thermodynamic parameters of the adsorption of 4-ClPhNH2 and 4-BrPhOH onto SCP700 carbon

The ∆G° and ∆H° in this study are all negative (see Table 5). These results suggest a spontaneous and exothermic adsorption process, respectively. All enthalpy values were ΔH° < −25 kJ mol−1. According to Chang and Thoman [51], the magnitude of enthalpy matches with physical adsorption. Furthermore, the positive values of the entropy (∆S°) indicate that an increase in randomness occurs during the adsorption process of 4-ClPhNH2 and 4-BrPhOH onto SCP700 material, at the adsorbent/liquid interface [49]. This behavior should be explained by the releases of hydration water of both 4-ClPhNH2 and 4-Br-PhOH before these molecules arriving at the active site of the adsorbent [49]. The R2adj values of the plots are 0.9980 and 0.9989, respectively. These values show the high reliability of the ∆H°, and ∆S° values obtained.

3.10 Adsorption mechanism

Based on the abovementioned thermodynamic parameters and the results from the physicochemical characterization of the AC, we can propose the adsorption mechanism of 4-ClPhNH2 and 4-BrPhOH onto SCP700 material.

The enthalpy data show that the interaction between both 4-ClPhNH2 and 4-BrPhOH and SCP700 was physical. In that sense, the possible interactions are π–π interactions, hydrogen bonds, electron donor–acceptor, and dispersion interactions [21, 50]. In fact, at the surface of SCP700 carbon, several functional groups are present such as, –COO, –OH, and –NH, (see Fig. 2) and might interact with the N–H and –O–H group of 4-ClPhNH2 and 4-BrPhOH molecules, forming hydrogen bonds [21].

The adsorption of 4-ClPhNH2 and 4-BrPhOH on AC can further occur by π–π interactions. Indeed, the π electrons moving inside the aromatic ring in the 4-ClPhNH2 and 4-BrPhOH structure, as shown in supplementary Figs. 1 and 2, might react with the π electrons of the aromatic rings of the SCP700 carbon. The formation of the pair donor–acceptor can occur between the aromatic ring of 4-ClPhNH2 and 4-BrPhOH, acting as the electron acceptor and the carbonyl groups (electron donors) present at the SCP700 surface.

According to Lipkowski et al. [52], it is also possible to find pure acid–base hydrogen bond interactions of –COOH or –OH of AC with Cl (O–H–Cl) or Br (O–H–Br) of 4-ClPhNH2 and 4-BrPhOH, respectively. Notwithstanding, the pore structure of the material can also cause adsorption by pore filling. As discussed in Sect. 3.1, the textural characteristics of the SCP700 can utterly improve the active sites on the surface of the material and therefore enhance the 4-BrPhOH and 4-Cl-PhNH2 uptaken. The high porosity of the material favors the quick inter-diffusion of the 4-ClPhNH2 and 4-BrPhOH molecules, which might be seized in those pores.

3.11 Application treatment of a simulated effluent

To evaluate the effectiveness of the produced activated carbon from Brazil nutshells biomass in the real industrial wastewater treatment plants, a simulated effluent was prepared and tested with SCP700 carbon. The synthetic wastewaters are made with many other contaminants classified as emerging contaminants, and several other chemical compounds that are usually detected in industrial wastewaters. The chemical compositions of the synthetic wastewaters used for the experiment in this study are shown in Table 1. Four effluents were prepared with a mixture of other pharmaceuticals and phenols molecules.

The UV–Vis spectra of the four simulated effluents before and after adsorption (190–450 nm) experiment were recorded and used to find the quantities of the emerging contaminants from effluents that were removed (Fig. 8). The total absorbance of a mixed solution at any wavelength is equal to the sum of the absorbances of the individual components in the solution [53], because absorbance is an additive property [53]. Therefore, the integration of the area under the absorption peak (190–450 nm) will correspond to the sum of the concentration of all the substances depicted in Table 1. When we make the integration of the areas of absorption bands from 190 to 450 nm of the simulated effluents before and after the treatment, and also the ratio of the area of the treated synthetic wastewater divided by the area of untreated one and multiplying this values by 100, it is possible to find the percentage of total removal of the organic compounds from the simulated effluents [50].

Fig. 8
figure 8

UV/Vis spectra of simulated industrial effluents before and after treatment with SCP700 activated carbon. a Effluent 1; b effluent 2; c effluent 3; d effluent 4. See Table 1 for the composition of effluents

The results show that the percentage of the removal was 98.64%, 98.25%, 98.60%, and 97.92%, respectively, for the effluent 1, 2, 3 and 4. It is crucial to notice that SCP700 carbon still showed a high percentage of removal of organic compounds even when doubling the concentration of the pollutants and other chemicals, which is the case for effluent 2 and effluent 4. These findings indicate that SCP700-activated carbon from the cashew of the Para shell could be used with effectiveness for the real wastewater treatment plants.

It is relevant to highlight that in all spectra in Fig. 8 after the adsorption, the spectra of the organics (190–250 nm) were not zero; however, before the treatment, the spectra of the initial effluent were diluted 10× (effluents 1 and 3) and 20× (effluents 2 and 4).

3.12 Comparison of the adsorption capacity of 4-ClPhNH 2 and 4-BrPhOH molecules onto SCP700-activated carbon with other materials

Table 6 below presents the adsorption capacity of 4-ClPhNH2 and 4-BrPhOH molecules onto SCP700-activated carbon with other materials reported in the literature under the same conditions. We also reported the comparison with other contaminants such as 4-chlorophenol and aniline. It appears that SCP700-activated carbons prepared in this work have a significant adsorption capacity for both adsorbates compared to other adsorbents and contaminants, which is mentioned in Table 6. SCP700-activated carbons exhibit higher adsorption density compared to Functionalized magnetic MCM-48 nanoporous silica by cyanuric [54], biosolid biochar [54], activated carbon (GAC) [55], polymer/RS-derived biochar pyrolyzed at 550 °C [56], activated kaolinite [57] and multiwalled carbon nanotubes [58]. SCP700-activated carbons adsorbed more than two times of 4-BrPhOH molecule compared to Functionalized magnetic MCM-48 nanoporous silica by cyanuric chloride, reported in Table 6 as the best adsorbent. Furthermore, the Qmax obtained for 4-ClPhNH2 was five times higher than the adsorption capacity of aniline, five and half times than the Multiwalled Carbon Nanotubes, and almost two times higher than the adsorption of 4-chlorophenol for the best adsorbent reported here. This result shows that SCP700-activated carbons prepared in this study can be potentially used in the treatment of wastewater contaminated with emerging contaminants.

Table 6 Comparison of the adsorption capacities for the uptake of chlorophenols, bromophenols, and anilines molecules onto different adsorbents materials

4 Conclusion

In this study, activated carbon from the shell of the cashew of Para (SCP) was produced by chemical activation with ZnCl2 using the ratio of SCP: ZnCl2 1.0:1.5 at 700 °C. The prepared activated carbon (SCP700) was used in the removal of two emerging contaminants, 4-bromophenol (4-BrPhOH) and 4-chloroaniline (4-ClPhNH2) that are primarily employed in the industry.

Different analytical techniques characterized the produced material. The N2 adsorption–desorption isotherms presented the specific surface area of 1520 m2 g−1 and total pore volume of 0.492 cm3 g−1. The functional groups were identified by the FTIR technique and quantified by modified Boehm titration. The results revealed the presence of different functional groups on the SCP700 surface, which can utterly affect the removal of the emerging contaminants.

The equilibrium experiments showed that the maximum uptaken capacities (Qmax) achieved at 45 °C were 488.2 (4-BrPhOH) and 552.5 mg g−1 (4-ClPhNH2). The thermodynamic assessments revealed that the process of 4-BrPhOH and 4-ClPhNH2 adsorption are spontaneous and exothermic, and the magnitude of ΔH° is matching with a physical adsorption process.

The mechanism of adsorption of both adsorbates onto the carbon surface is dominated by microporous filling, hydrogen bonds, π-stacking interactions, and other Van der Waals interactions. The use of activated carbon for the treatment of synthetic wastewaters containing inorganic and organic compounds exhibited a high percentage of uptaken (up to 98.64%). These findings indicate that SCP700-activated carbon from the shell of the cashew of Para could be used with effectiveness for the real wastewater treatment plants.