Introduction

Because of the rapid advanced progress in industry and technology our global environment is daily subjected to massive amounts of industrial effluents [1, 2]. Large quantities of hazardous are included in these effluents. Today, it is expected that 1.6 million tonnes of dyes are produced annually. These colored contaminants or dyes are widely employed across a variety of industries including textile, paper, plastics, marine, culinary, paints, and coatings [3,4,5]. Dyes effluents that resulted from most industrial sectors are usually drainage into wades, rivers, seas, and oceans. These non-biodegradable industrial effluents cause permanent contamination of the environment which in turn affects the typical ecological system badly by changing the color and odor of the natural water resources [6, 7]. Dyes are mostly carcinogens and cause many diseases such as skin irritation, dermatitis, mutations, allergies, and cancer in both animals and humans. The aqueous solutions which contains a significant amounts of unused dyes that have been released into water bodies by various industries pose a serious threat to the aquatic environment by consuming oxygen and increasing biochemical oxygen demand [8,9,10].

Dyes are can be divided into synthetic and natural dyes (from plants, animals, and minerals), but synthetic ones are the most widely used. Their structure includes auxochromes and chromophores and their molecular structure is aromatic due to hydrocarbon skeleton. The electron receivers that impart color are chromophores, while auxochromes are the electron donors which intensify colors onto the substrate [11, 12]. According to their particular charge dyes can also be classified into anionic, cationic, and non-ionic dyes. Based on their chemical structure dyes are divided into anthraquinone dyes, azo dyes, indigo dyes, nitrosated dyes, xanthene dyes, diphenylmethane and triphenylmethane dyes [13, 14].

Anthraquinone dyes such as alizarin red (AR) are considered as the most durable dyes which cannot be completely degraded by general chemical, physical, and biological processes [15]. Alizarin Red (1,2-dihydroxy-9,10-anthraquinonesulfonic acid) is an anionic dye known for its toxicity, and carcinogenic effects and it may also cause some other health problems such as dermatitis [16]. It is a water-soluble dye, that acts as a color indicator (with a pKa 4.6–6.5) so that is usually used in food, textile, and dye industries, and in turn, it is found mostly in their effluents [17]. Therefore, based on the mentioned considerations, it is necessary to remove it from the contaminated wastewater [18]. There have been many reported techniques for removing colored pollutants from aquatic environments, such as coagulation and flocculation, membrane filtration, electrochemical oxidation, ion exchange, advanced oxidation and adsorption [4, 19]. One of the most recent effective techniques for dye removal is adsorption due to its operational simplicity and low energy costs [20]. Recently, the research progress in the synthesis and modification of chitosan-based polymer nanocomposites has been widely developed because of their unique mechanical and physicochemical properties which strongly qualify them to undergo various environmental applications [21, 22]. For example, it was illustrated that functionalized modified chitosan nanocomposites can improve chemical stability, sorbents porosity, and adsorption capacity [23,24,25,26,27].

In this study we synthesized a new modified low-cost heterocyclic-chitosan nanocomposite. The modified sorbent AOC@MC was successfully applied to effectively remove Alizarin Red from aqueous solutions. For a better comparison of the experimental data, the initial pH effects, kinetics, equilibrium, desorption, and a reusability study was also investigated. The antibacterial effect of both organic base and polymeric nanocomposite was examined against pathogenic bacteria using the disk diffusion technique. Staphylococcus aureus and Klebsiella pneumoniae were used as a model for Gram-positive and Gram-negative bacteria respectively. Further applications in the treatment of actual waste effluents will benefit from this understanding.

Materials and Methods

Materials

Chitosan (acetylation degree, DA: 25%), epichlorohydrin (EPI, 98%), (DMF; 99.8%), Ethanol (99%), Sodium chloride, Acetone, FeCl3.6H2O and FeCl2.4H2O were purchased from Damao Chemical Agent Company (Tianjin, China), Alizarin Red was Obtained from merk (Shanghai, China). Acetyl acetone, cyanoacetamide, ethyl chloro acetate were purchased from Sigma-Aldrich (S.D. Fine Chemicals Ltd., 98% min. assay). Thio hydrocarbazide was prepared at the laboratory by the reaction of Hydrazine hydrate (NH2–NH2) with Carbon disulfide(S=C=S) in ice bath. Thin-layer chromatography (TLC) was used to follow the completion of the reaction with benzene and methanol mixture as the mobile phase (8:2 volume ratios). All other reagents used in this study were analytical grade from Damao Chemical Agent Company (Tianjin, China) and distilled or double distilled water was used in the preparation of all solutions.

Methods

Preparation of 4, 6-di methyl-2-oxo-1,2-di Hydropyridine-3-carbonitrile (1)

Sodium metal (1.53 g, 10 mmol) was added in small pieces to 200 ml of ethyl alcohol in a round-bottomed flask with cooling in an ice bath. When all sodium was dissolved, the solution was brought to 25 °C to form sodium ethoxide then add a mixture of 6.9 ml, 69 mmol) acetyl acetone with (5.7 g, 67.8 mmol) of cyanoacetamide. The mixture was refluxed at 80 °C for 8 h, and a precipitate was formed after pouring onto crushed ice which was filtered off, washed with water, and dried well to give compound 1. (Scheme S1). The crude product was recrystallized from ethanol (final weight = 7 g in 70% yield).

Preparation of Ethyl 2-(3-cyano-4,6-dimethyl−2-oxopyridine-1(2 H)-yl)acetate (2)

Ethyl chloroacetate (1.65 g, 13.4 mmol) was added dropwise to a well-stirred solution of compound \(1\) (2 g, 13.5 mmol) in DMF (50 ml), potassium hydroxide (0.8 g, 14.2 mmol). The reaction mixture was stirred at 60–65 °C for 12 h, then cooled to room temperature and poured onto ice bath with stirring (removal of excess KOH) (Scheme S1). The precipitated compound (2) was filtered, washed with water, dried, and separated using column chromatography (methylene chloride followed by methylene chloride, ethyl acetate mixture) the separated compounds obtained after vaporization of solvent were recrystallized from ethanol (final weight = 2.5 g with 80.6% yield).

Preparation of 1-((4-amino-5-thioxo-4,5-dihydro-1 H-1,2,4-triazole-3-yl)Methyl)-4,6-dimethyl-2-oxo-1,2-dihydropyridine-3-carbonitrile (3) OAC

A mixture of compound 2 (7 g, 30 mmol) and thiocarbazide (3.1 g, 29.2 mmol) in sodium methoxide (0.69 g, 4.5 mmol of sodium in 50 ml methanol) was refluxed at 70 °C for 17 h. A precipitate of compound 3 (OAC) was formed after pouring onto crushed ice then filtered off, washed with water, and dried well (Scheme S1). The crude product was recrystallized from ethanol (final weight = 8 g with 97.5% yield).

Preparation of Magnetite Nanoparticles (MC)

Magnetite nanoparticles were synthesized via the thermal co-precipitation reaction of ferrous sulphate (FeSO4.7H2O,5.0 g) and hydrated ammonium ferric sulphate (NH4)Fe(SO4)2.12H2O,17.35 g) in water [28]. After vigorous stirring for \(60\) min at 40–50 °C, the pH was adjusted to 10–12 using 5 M NaOH solution keeping the mixture at 45 °C for 5 h. The magnetite nanoparticles were first separated magnetically, then washed in acetone and Milli-Q water, and then dried at 50 °C overnight. Chitosan powder (4 g) was soaked in acetic acid solution (150 mL, 20% w/w). To the chitosan solution, we added 1.5 g of magnetite nanoparticles. The mixture was kept at 45 °C, and the pH was reduced to \(10\) using a 5 M \(\text{N}\text{a}\text{O}\text{H}\) solution to precipitate magnetic chitosan microparticles (MC). The mixture was aged at 90 °C for 2 h. Crosslinking was used to increase the chemical stability of the composite. MC particles were crosslinked with epichlorohydrin (EPI) in an alkaline medium of 0.01 M (0.067 M NaOH solution; pH 10). The detailed procedure is shown in our previous research [29].

Preparation of MC-Cl (4) and AOC@MC

To a solution of MC 30 ml of epichlorohydrine in \(200\) ml of (ethanol/water) (1:1) was added. The mixture was stirred for \(3\) h at 70 °C. The precipitate of Mc-Cl was filtered, washed with ethanol, and dried at 50 °C to give MC-Cl (8.3 g). The synthesized heterocyclic compound 3 was added to 2.5 g of MC-Cl gram in 60 ml of DMF in a round-bottomed flask. The reaction mixture was refluxed for \(9\) h at 80 °C at pH 9.5 The AOC@MC precipitate was filtered, washed with water and ethanol, and dried at 50 °C (4.5 g) [30]. Scheme S2 and Scheme 1 summarize the different steps of the synthesis procedures.

Scheme 1
scheme 1

The preparation steps of AOC@MC

Characterization of Materials

1 H-NMR (in DMSO-d5) and FTIR spectral analysis were used to confirm the structure of the synthesized heterocyclic compounds and polymeric sorbent. Using an alpha 100523 Jeol ECA 500 MHz NMR spectrometer,(Thermo Fischer Scientific, Inc., Waltham, MA, USA) 1 H-NMR analysis were operated .FTIR spectra were acquired using the so-called KBr disc method using an IRTracer-100 spectrophotometer (Shimadzu, Tokyo, Japan). Thermo gravimetric analysis (TGA) of was carried out in a nitrogen atmosphere using a Netzsch STA 449 F3 Jupiter thermogravimeter with a temperature ramp of 10 °C/min (under oxygen atmosphere) (NETZSCH-Ger¨ atebau GmbH, Selb, Germany).The morphology of AOC@MC before and after AR adsorption was investigated by Scanning Electron Microscope (SEM) using (SEM, Thermo Fisher Scientific, Netherlands) coupled with EDX facilities. The size and the morphological features were investigated adopting the high-resolution transmission electron microscope (HRTEM, JEOL-2100), The suspension of the material was sonicated for 20 min on an ultrasonicator (Crest Ultrasonics Corp., New Jersey, USA). Then few drops were loaded on carbon coated copper grid, left to dry, the grid loaded with the sample was examined by HR-TEM (JEOL, JEM-2100, Tokyo,Japan). The crystallinity of magnetite was characterized by X-ray diffraction patterns using an X-ray diffractometer X’Pert Pro (Philips, Eindhoven,Netherlands). The textural analysis of AOC@MC was carried out on a high-speed surface area analyzer (Nova-e Series, Model 25, Quantachrome, Kingsville, TX, USA). Brunauer − Emmett − Teller (BET) surface area analysis was carried out by using the nitrogen adsorption-desorption method (BELSORP MINI X, Microtrac BEL, Osaka, Japan).

Sorption Studies

A stock solution of Alizarin Red Dye (AR) (400 mg/L) was prepared. The additional solutions were made by diluting the stock solution with distilled water. Sorption measurements were performed at PH 1.0–7.0 and the pH using 0.1 M NaOH/HCl. 25 ml of each solution was combined with a weighted amount (30 mg) of the adsorbent, which was then agitated for 50 min at 250 rpm before being filtered. To determine the adsorption effectiveness of the prepared composite, the absorbance of AR solutions was measured using an evolution \(300\) ultraviolet-visible spectrophotometer at the wavelength of maximum adsorption (max= \(423\)nm). \({q}_{e}=\left({C}_{i}-{C}_{f}\right)V/{W}_{t}\) Where \({W}_{t}\) is the weight of the composite and \(V\) is the volume of AR in liters and \({W}_{t}\)is the composite’s weight in grams, \({q}_{e}\) is its adsorption efficiency. The beginning and end AR concentrations are \({C}_{i}\) and \({C}_{f}\), in milligrams per liter, respectively. The pHPZC values were determined by the pH-drift method [31].

Evaluation of Antimicrobial Activity

The activity of synthesized compounds OAC and AOC@MC against pathogenic bacteria was investigated using the disk diffusion technique. Staphylococcus aureus ATCC 6538 and Klebsiella pneumoniae ATCC 700603 were used as a model for Gram-positive and Gram-negative bacteria respectively. In this method, the bacterial strain was sub-cultured in 100 mL of nutrient broth media (containing g L−1: peptone, 5; beef extract, 3; and NaCl, 5, dH2O, 1 L) and incubated for 24 h at 35 ± 2 °C. After that, 100 µL of bacterial culture (adjusted optical density at 1.0) was seeded into Muller-Hinton agar media (Oxiod, ready-prepared), shaking well, and poured into Petri dishes under aseptic conditions. After solidification, a paper disk (7 mm) was loaded with 100 µL of synthesized compounds (0.3 g/1ml DMSO) and lets it dry before being put on the surface of the seeded Muller-Hinton agar plate. Disks loaded with a solvent system (DMSO) were used as a negative control. The loaded plates were kept in the refrigerator for one hour to confirm complete diffusion before incubation at 35 ± 2 °C for 24 h. At the end of the incubation period, the results were recorded as a diameter of clear zone (mm) around each paper disk [32]. The experiment was achieved in triplicate. The clear zone was represented as a mean of three independent replicates ± standard deviation (± SD).

Results and Discussion

Characterization of Sorbents

Morphological Analysis SEM and TEM

The SEM picture of the AOC@MC (Fig. 1a) shows that the surface of nanoparticles is roughly shaped. The particles are also tightly packed together. According to its surface micrographs, the flake structure after adsorption may represent the AR coverage on AOC@MC MNPs (Fig. 1b). Typical EDX spectra along with elemental analysis results are displayed in (Fig. 1a, b). For the unused sample, EDX examination reveals the presence of various components including Fe (58.90%), \(\text{O}\) (25.58%), C (12%), S (1.45%), Cl (1.11%), and Ca (96%). The spectra show that Fe, O, and C are present, supporting the creation of magnetic chitosan particles. The fresh sample’s Fe concentration was discovered to be 58.90% weight and 33.64% atomic. After removing the AR with AOC@MC, the Fe level dropped to 47.13% weight, and the increase in S (2.21% weight) confirmed that the AR dye had been absorbed [33]. The TEM analysis and Selected Area Electron Diffraction (SAED) pattern are shown in (Fig. 2a–f) for AOC@MC and AOC respectively. (Fig. 2a, b) shows TEM for AOC@MC, the dark objects of magnetite nanoparticles (magnetite NPs,) is immobilized in the matrix of functionalized biopolymer (light-colored) can be observed with sizes ranging between (~ 4 and ~ 20 nm). The magnetite NPs are mostly distributed homogeneously showing irregular morphology and some are clustered in the form of agglomerates. (Fig. 2d, e) shows TEM for AOC, the particles size ranges between (~ 16 nm and ~ 54 nm). From the observed particles size of both AOC@MC and AOC the values indicates their formation as nanparticles which in turn illustrates the synthesis of AOC@MC nanocomposite. SAED pattern is a technique used alongside S/TEM to evaluate the sample’s crystallinity, lattice parameters, and crystal structure and orientation by evaluating the electron diffraction pattern created by the electron beams interaction with the sample atoms. Depending on the type of sample, the SAED pattern can contain sharp spots from single crystal, ring patterns from nanocrystalline powders, or diffused ring patterns from amorphous samples [34]. Figure 2c shows SAED pattern of AOC@MC which exhibits ring patterns that illustrated the formation of nanocrystalline magnetite NPs polymer composite while the pattern showed in Fig. 2f exhibits sharp spots indicating the single crystal morphology of AOC.

Fig. 1
figure 1

SEM- EDX images of AOC@MC before and after dye sorption: a before dye adsorption and   b after dye adsorption

Fig. 2
figure 2

a, b TEM imagesof AOC@MC, d, e TEM imagesof OAC. SAED pattern, c SAED pattern of AOC@MC and f SAED pattern of AOC

Textural Analysis-BET

The specific surface area (as,BET, m2 g −1 ), pore volume (Vp, cm3 g −1 ) and median pore diameter (nm) for AOC@MC were measured and were found to be 13.904 m2 g−1, 0.086 cm3 g−1 and 3.0648 nm respectively. The given values show that the textural properties of the sorbent were improved by the incorporation of magnetite NPs. (Fig. 3a, b) shows the BET plot and nitrogen adsorption−desorption isotherms at a temperature of 77 K. The hysteresis loop obtained from the graph suggests the type IV isotherm according to IUPAC classification, and the adsorbent is mesoporous.

Fig. 3
figure 3

BET surface area analysis of AOC@MC; a BET plot of the N 2 adsorption−desorption isotherm.  b BET plot of N2 adsorption

Structural Analysis-XRD

By utilizing X-ray diffraction analysis (XRD) with Cu Kα radiation ( λ = 0.1541 nm) at a rating of 40 KV, 40 mA, and 2θ ranging from 0 to 70° step duration 0.7 (s), the distribution of montmorillonite platelet in the chitosan matrix was investigated. The XRD diffraction pattern of AOC@MC is shown in Fig. 4 confirms the presence of magnetite NPs. with magnetic characteristics which may point to magnetic separation and confirming the intercalation of polymer composite. The characteristic peaks of Fe3O4 are (2θ = 30.11, 35.5, 43.31and 53.42). Using the Pan Analytical X’pert PRO database from the International Centre for Diffraction Data, the produced crystalline phases were which is consistent with the order of magnitude of the NPs determined by TEM (Fig. 2).

Thermogravemtric Analysis

Chitosan was subjected to a thermogravimetric examination to confirm the existence of magnetic Fe3O4 (Fig. 5). At temperatures between 50 and 550 °C, weight loss occurs in two stages. At temperatures between 50 and 100 °C, the first stage entails desorption of water molecules that have been surface-adsorbed. Due to the dissolution of the polymer matrix, a nonlinear continuous decreasing weight was found at a higher temperature of 230 °C and persisted up to 520 °C.

Fig. 4
figure 4

The XRD diffraction pattern of AOC@MC

Fig. 5
figure 5

TGA analysis of AOC@MC

FTIR Spectroscopy

FTIR was used to characterize the manufactured materials, with a scanning range of 4000 and 400 cm−1. The characteristic peaks of chitosan can be seen in the infrared spectra of magnetic chitosan, including the adsorption band at 3414 cm−1 that reveals the stretching vibration of N–H groups bonded with O–H groups in chitosan, the C–H bond at 2918 cm−1, and the N–H scissoring from the primary amine in crosslinked chitosan at 1594 cm−1. The effects of C–N stretching for primary amines and C–O stretching for the primary alcohol of chitosan are visible in bands between 1451 and 1383 cm−1, respectively. At 577 cm−1, the new magnetic chitosan peak is visible. It proves that magnetic particle surfaces developed a layer of chitosan. Fe3O4 nanoparticles in the magnetic chitosan are responsible for the Fe–O transverse vibrations at 577, 630, 797, and 895 cm−1 in the FTIR spectra (Fig. 6) and (Table 1). Both IR and H-NMR spectra of the prepared heterocyclic compounds 1, 2, and 3 (AOC) with their readings are shown (Fig. S5, S6).(See Supplementary Information).

Fig. 6
figure 6

IR of AOC and finial grafted sorbent AOC@MC

Table 1 FTIR assignment and wavelength (cm−1) of MC, AOC and the finial grafted sorbent AOC@MC

Adsorption Experiments

Effect of pH

The pH of the aqueous solution is the most crucial factor in adsorption tests; it has a significant impact on the ability of beads to bind AR. The influence of pH on the sorption of AR on the produced absorbents is depicted in Fig. 7a. When pH decreased, the dye uptake is increased. In this study by adding 0.03 g of dry composite AOC@MC was to a series of flasks containing 25 ml of AR (200 mg/L) with different pH values (starting from 3 to 7), shaking at 250 rpm and 30 oC for 50 min, and filtering out, it was seen the maximum AR adsorption values, which were 162 mg/g.

Effect of Sorbent Dose

Five different weights (0.03, 0.05, 0.07, 0.10 and 0.15) gm. of AOC@MC composite were enclosed in a series of flasks each of which contained 25 mL of AR dye (200 mg/L), pH 3, then stirred at 250 rpm and 30 °C for 50 min and filtered off. Figure 7b illustrates the effect of AOC@MC dose on AR dye adsorption. The sorption capacity of AOC@MC was found to be reduced from 162 to 157.2 mg/g. The concentration difference between the sorbent and AR dye rises when the dosage is raised, resulting in aggregation and reduced dye transfer per unit mass onto the sorbent. Another factor contributing to the decreasing trend is the saturation of the adsorbent active pore site which reduced the dye molecule sorption. Therefore, we found that a dosage of 0.03 g/ 25 mL was the most effective for dye absorption.

Effect of Temperature on the Extent of Adsorption

Four flasks containing 0.03 g of AOC@MC composite were filled with a total of 25 mL (200 mg/L and pH 3), and they were shaken for 50 min at various temperatures (20, 25, 30, and 40 °C). As indicated in Fig. 7c, the adsorption capacity increased from 159.7 to 162 mg/g as the temperature was raised. But at 40 °C, there was a decrease in the adsorption efficiency. This illustrates that lower temperature enhances adsorption while higher temperature enhances desorption.

Effect of Contact Time

By adding 0.03 g of dry composite to a series of flasks, the influence of time on the adsorption process was studied. Each flask contains 25 ml of 200 mg/L AR solution, is heated to 25 °C, has a pH of 3, and is swirled at various intervals. It was found that the maximum adsorption capacity occurs within 30 min, indicating rapid adsorption at the beginning of the reaction and its fast kinetics (Fig. 7d ). During the first 30 min of the process, the adsorption capacity reached 94.4 mg/g. It was then increased to 96.7 mg/g by increasing the processing time to 50 min. After this step, the increase in contact time showed slight changes in adsorption capacity. Rapid adsorption at the beginning of the contact time is due to the large surface area available for dye adsorption. At this stage, adsorption will be essentially at the adsorbent surface. The adsorption process moves from the adsorbent particles’ outer locations to the internal sites and slows down the process. According to the results, the equilibrium time for the AR removal was 50 min [43].

Fig. 7
figure 7

Adsorption experiments a effect of pH on alizarin red adsorption, b effect of adsorbent dose on AR adsorption, c effect of Temperature on AR adsorption and d effect of time on Alizarin red adsorption

Effect of Adsorption Kinetics Studies

Figure 7d shows how the contact time affects the capacity of AR adsorption. Evidently, the adsorbent performed well within the first 60 min of adsorption. Only 50 min were needed to reach the adsorption equilibrium. After one hour, there was no discernible change. With the help of two kinetic models, the Lagergren pseudo-first-order and pseudo-second-order models, the adsorption kinetics of AR onto the modified sorbent AOC@MC are examined. One of the most used adsorption rate equations for solute adsorption from a liquid solution is the Lagergren rate equation.

Pseudo-First-Order Model

The linear form is expressed as Eq. (1) [44]:

$$\log \left( {q_{e} \, - \,q_{t} } \right)\, = \,\log q_{e} \, - \,\frac{{K_{1} }}{{2.303}}t$$
(1)

Here, \({K}_{1}\) is the rate constant (1/min), \(t\) is the time of contact, and \({q}_{t}\) and \({q}_{e}\) are the adsorption capacities of the adsorbent during time \(t\) and at the equilibrium condition, respectively (min). Finding the values of \({K}_{1}\) and \({q}_{e}\) is aided by the plot \(\text{l}\text{o}\text{g}\left({q}_{e}-{q}_{t}\right)\) and \(t\) as shown in Fig. 8a.

Pseudo-Second-Order Model

The adsorption kinetic model can be expressed in differential Eq. (2) [44]:

$$\frac{{dq_{t} }}{{d_{t} }}\, = \,K_{2} \left( {q_{e} \, - \,q_{t} } \right)^{2}$$
(2)

where \({K}_{2}\) (g mg\({}^{-1}\) min\({}^{-1}\)) is the second-order rate constant, and the equation is simplified and can be re-written in a linear Eq. (3)

$$\frac{t}{{q_{t} }}\, = \,\frac{1}{{K_{2} q_{e}^{2} }}\, + \,\frac{1}{{q_{e} }}t$$
(3)

As indicated in Fig. 8b from the plot between \(\frac{t}{{q}_{t}}\) and \(t\), the values for \({K}_{2}\) and \({q}_{e}\) are determined using the intercept and slope. The corresponding kinetic parameters from both models are listed in Table 2. The correlation coefficient (\({R}_{2}\)) for the pseudo-second-order adsorption model has a high value (\(>99\)%) for the adsorbent. The calculated equilibrium adsorption capacity of AOC@MC is 163.9 mg/g, which is consistent with the experimental data (162 mg/g) [45]. These facts suggested that the pseudo-second-order adsorption mechanism was predominant and that the overall rate of the AR adsorption process appeared to be controlled by the chemisorptions process [46]. In addition, the optimum contact time for the adsorption of AR appeared to be 50 min. This could be attributed to the large surface area, the sufficient exposure of active sites, and the high surface reactivity of AOC@MC. The sorption of AR was rapid during the initial stages of the sorption process, followed by a gradual process. In the latter stages, however, the rate of AR adsorption became slower. The AR had to first encounter the boundary layer effect and then adsorb on the surface, and finally, they had to diffuse into the porous structure of the adsorbent which took a longer time.

Table 2 Kinetic models for AR adsorption by AOC@MC
Intra-particle Diffusion

The intra-particle diffusion model examined the kinetic results to clarify the diffusion mechanism. The three steps of (a) film or surface diffusion, in which the sorbate is transported from the bulk solution to the external surface of the sorbent, (b) intra-particle or pore diffusion, in which the sorbate molecules move into the interior of sorbent particles, and (c) adsorption on the interior sites of the sorbent, can be used to describe the overall rate of adsorption. It expresses the intraparticle diffusion model as follows Eq. (4)

$$q_{t} \, = \,K_{i} t^{{0.5}} \, + \,I$$
(4)

where \(I\) is the intercept, \({K}_{i}\) is the intra-particle diffusion rate constant in mg/(g min\({}^{1/2}\)), and \({q}_{t}\) is the amount of alizarin red adsorbed at equilibrium (mg/g) at time \(t\). The slope and intercept of the plot of \({q}_{t}\) vs. \({t}^{1/2}\) were used to compute the values of \({K}_{i}\) and \(I\) for the intra-particle diffusion. If the linear plot passes through the origin, it shows that the intra-particle diffusion is the single factor limiting the rate of reaction. On the other hand, the surface sorption contributes more to the rate-limiting step; the larger the intercept is attained. Figure 8c depicts the intra-particle diffusion for AR adsorption by AOC@MC. The adsorption process’s trend is identified throughout the adsorption process as three steps. The first step is the diffusion of the dye molecules via the boundary layer from the bulk solution to the modified chitosan composite’s exterior surface. The second occurs when dye molecules diffuse from the modified chitosan composite adsorbent’s exterior surface into its pores. The ultimate equilibrium stage is when the dye molecules have been adsorbed on the active sites on the interior surface of the pore, and the intra-particle diffusion plot starts to slow down as the solute concentration in the solution decreases [47]. The surface adsorption mechanism predominately took place during the first 50 min of contact. The diffusion pathway thus became the rate-limiting stage. It was determined that the intra-particle diffusion rate constant kp (mg/g min\({}^{1/2}\)). The intraparticle diffusion was not the only step that was rate-limited because the plot did not pass through the origin. As a result, only one process was rate limiting over a given time out of the three that affected the adsorption rate. The boundary layer effect is also shown by the plot’s intercept. For the modified chitosan composite, we had a high value, which led to greater dye surface adsorption. As a result, the adsorption behaviors utilizing this adsorbent simultaneously combined surface adsorption and intra-particle diffusion mechanisms.

Fig. 8
figure 8

Adsorption kinetic studies a Pseudo-first order kientic model, b Pseudo-second order kientic model and c Intra particle diffusion kinetic model

Evaluation of Adsorption Isotherm Models

Adsorption is a process in which adsorbate (dyes) is attached to the surface of the adsorbent as a result of various interactions between the adsorbent and adsorbate. Isotherm models are used in this case to identify how much adsorbate is present on the adsorbent’s surface (or in the solid phase) and how much is left in the water sample (or in the liquid phase) [48]. The isotherm models measure the adsorbent’s full capacity, assist in optimizing the adsorption cycle, and provide insight into the mechanisms of the adsorption process. Generally, the act of adsorption is indicated through the mechanism of adsorption isotherm via a description of the adsorption processes. Depending on the isotherm model parameters it might either be monolayer or multilayer adsorption. As shown in Table 3, we discussed the different samples of adsorption isotherm models; Freundlich and Langmuir still are largely used in research work to explain the adsorption act of their adsorbents [49].

Table 3 Langmuir, Freundlich, Temkin and D-R isotherm parameters for AR dye removal
Langmuir Adsorption Isotherm Model

The equilibrium adsorption isotherm is crucial in the design of an adsorption system because it describes how the solution and the adsorbent interact. It has been discovered that the widely used Langmuir model successfully fits the process. The equation can be written as follows:

$$q_{t} \, = \,\frac{{q_{m} K_{L} C_{e} }}{{1\, + \,K_{L} C_{e} }}$$
(5)

where \({q}_{e}\) = the total amount of AR dye adsorbed at equilibrium state (mg/g), \({c}_{e}\) denotes the concentration of AR dye solution at equilibrium condition (mg/L), \({q}_{m}\) represents the maximum adsorption capacity of AR dye (mg/g), and \({K}_{L}\) is the Langmuir isotherm constant. The linear form of the Langmuir equation is:

$$\frac{{C_{e} }}{{q_{e} }}\, = \,\frac{{C_{e} }}{{q_{m} }}\, + \,\frac{1}{{q_{m} K_{L} }}$$
(6)

The value of \({q}_{e}\) represents a practical limiting adsorption capacity when the surface is fully covered with the dye ions. The values of \({q}_{m}\) and \({K}_{L}\) are calculated from the slope and intercept of the straight-line plot of \(\frac{{C}_{e}}{{q}_{e}}\) versus \({C}_{e}\) (Fig. 9a). In addition, the essential characteristics of Langmuir isotherm can be described by a separation factor (\({R}_{L}\)), which is given in the following equation:

$$R_{L} \, = \,\frac{1}{{1\, + \,K_{L} C_{e} }}$$
(7)

The value of \({R}_{L}\) indicates the shape of the Langmuir isotherm and the nature of the adsorption process. It can give an idea about the nature of adsorption equilibrium: \({R}_{L}>1.0\) unfavorable sorption; \({R}_{L}=1.0\) linear sorption; \({R}_{L}<1.0\) favorable sorption and \({R}_{L}=0\) irreversible sorption. Here, \({K}_{L}\) is the Langmuir constant and \({C}_{e}\) is the initial concentration of dye. In the study, the value of \({R}_{L}\) calculated for the initial concentrations of AR was \(0.0018\). Since the result is between the ranges of 0–1, the adsorption of AR onto the adsorbent appears to be a favorable process.

Freundlich Adsorption Isotherm Model

According to this model, it is used for describing nonideal and reversible adsorption processes, and it may be used to multi-layer adsorption over a heterogeneous surface in which the adsorbent surface is heterogeneous, containing unequal sites for the adsorption of the adsorbate molecules. The model is represented by Eq. (8) [50]:

$$q_{e} \, = \,K_{f} c_{e}^{{1/n}}$$
(8)

Equation (8) can be re-written in a linear Eq. (9):

$$\ln q_{e} \, = \,\ln K_{f} \, + \,\frac{1}{n}\left( {\ln c_{e} } \right)$$
(9)

Here, \({q}_{e}\) (mg/g) denotes the amount of dye that got adsorbed on the surface of the adsorbent at equilibrium condition, \({c}_{e}\) denotes the concentration of the dye solution at equilibrium condition (mg/L), \({K}_{f}\) denotes the adsorption capacity of the adsorbent, and \(\frac{1}{\text{n}}\) denotes adsorbent intensity. The plot between \(ln{q}_{e}\) and \(ln{c}_{e}\) helps to find out \({K}_{f}\) and (Fig. 9b). The type of the isotherm depends on the value of 1/n which is in the range of 0 and 1. It considers the prediction of the intensity of adsorption or surface heterogeneity, as the value is closer to 0, the surface becomes more heterogeneous, the n value varies with the adsorbent heterogeneity, if n < 10 and n > 1 ,this indicates the favorability. As shown in Table 3, all parameters of the Langmuir and Freundlich isotherms are presented and this demonstrates that the correlation coefficients (R2) value derived from the longmuir model was higher. As a result, AR adsorption onto the produced material was a monolayer reaction, and the longmuir model was better at predicting the adsorption behavior.

Temkin Adsorption Isotherm Model

According to Temkin this model, the adsorption is indicated by the intermolecular attraction between the adsorbate–adsorbent moieties as well as the adsorption heat. The Temkin equation has been represented as: \({q}_{e}={B}_{T}\text{log}{K}_{T}+{B}_{T}\text{log}{C}_{e}\) Where, BT = Temkin constant associated with the adsorption heat (kJ/ mol), KT = Temkin isotherm equilibrium binding constant (L/mg). The graph was obtained from the qe Vs log Ce plot (Fig. 9c).

Dubinin-Radushkevich (D-R) Adsorption Isotherm Model

This model depends on the temperature that indicates if the type of adsorption mechanism is going on chemically or physically through the energy distribution on a heterogeneous surface (Fig. 9d). It supposes that the adsorbent has no homogeneous surface, and the equation is as follows [51]:

$$\ln q_{e} \, = \,\ln q_{m} \, - \,B\varepsilon ^{2}$$
(10)
$$\varepsilon \, = \,RT\ln \left[ {1\, + \,\frac{1}{{C_{e} }}} \right]$$
(11)
$$E\, = \,\frac{1}{{\sqrt {2B} }}$$
(12)

where \({q}_{e}\) = the total amount of AR dye adsorbed at equilibrium state (mg/g), \({c}_{e}\) denotes the concentration of AR dye solution at equilibrium condition (mg/L), \({q}_{m}\) represents the maximum adsorption capacity of AR dye (mg/g), and through Eq. (10) B, is the energy constant of adsorption, that is derived by graphing ln qe against ε 2. Polanyi potential (ε) is calculated via Eq. (11). R represents the gas constant (8.314 × 10−3 kJ mol−1 K−1) and T is the absolute temperature. E (KJ/mol) is the mean free energy of the adsorption is calculated according to Eq. (12). When E < 8 kJ mol−1, physical sorption occurs while E value is 8–16 kJ mol−1 a chemical sorption occurs[52]. Results indicate that AOC@MC shows physical adsorption nature with free energy “E” less than 8 KJ/mol.

(Fig. 9a–c) shows the different types of adsorption isotherm models that were evaluated; the Langmuir Isotherm model, Freundlich isotherm model, Temkin isotherm model and Dubinin-Radushkevich (D-R) model. It has been observed from Table 3 that the adsorption of AR dye on the surface of AOC@MC has been distributed homogenously and show the best fit curve at Langmuir Isotherm model following the pseudo second-order kinetics (R2 = 0.999) as compared to the isotherm analysis study utilizing the model representing the plot by Freundlich Isotherm (R2 = 0.9591), Temkin Isotherm (R2 = 0.9562), and D-R isotherm (R2 = 0.6269).

Effect of AR Initial Concentration and Adsorption Equilibrium Isotherms

In a series of flasks containing 0.03 g of AOC@MC composite was added to 25 mL of AR with different concentrations (100, 200, 300 and 400 mg/L). The mixture was then agitated at 250 rpm and 30 oC for 50 min before being filtered out. The earlier technique was used to determine the dye’s residual concentration. The Langmuir and Freundlich were used to evaluate the findings of the influence of AR starting concentration on adsorption capacity in accordance with the formulae presented in (Table 3). The effect of AR concentration on the sorption process before and after the addition of AOC@MC at pH from 1.0 to 7.0 is shown via live pictures in (fig. S8–fig. S11).

Fig. 9
figure 9

Asorption isotherm models for AR adsorption by AOC@MC a Langmuir isothermmodel b Frendlish isotherm model c Temkin isotherm model d D-R isotherm model

Desorption and Reusability Study

Hydrochloric acid 0.5 M was used as an eluent in desorption of Alizarin Red ions from the surface of chitosan composite (Fig. 10). Over three cycles, all composites displayed a moderate adsorption/desorption performance, with changes in adsorption/desorption ability reaching 12%. Desorption ratios were reported as 98.5, 82.5, 68.75, 57.2% respectively.

Fig. 10
figure 10

Reusability study of AOC@MC

Antibacterial Activity

The emergence of antibiotic-resistant microbes is a growing concern in the medical community [53]. To combat this issue, researchers are focused on developing new active compounds that can effectively target and eliminate these resistant bacteria [54]. One approach to achieve this via the synthesis of new compounds that possess unique structures and mechanisms of action. This involves designing and testing various chemical structures, which can be modified to enhance their efficacy against resistant bacteria while reducing their toxicity to human cells [55]. The development of active compounds with antibacterial properties can further enhance the effectiveness of dye removal from wastewater [13]. Combining the properties of active compounds used in dye removal and antibacterial activity can lead to the development of innovative and sustainable approaches for wastewater treatment [56]. The use of active compounds with antibacterial properties in dye removal can reduce the use of harmful chemicals and promote environmentally friendly practices.

In the current study, the activity of synthesized sorbent AOC@MC and its heterocyclic base AOC to inhibit the growth of pathogenic bacteria, S. aureus and K. pneumoniae were investigated using the disk diffusion method. Interestingly, the solvent system (DMSO) did not exhibit any activity against Gram-positive and Gram-negative bacteria. The non-modified and modified sorbent (AOC and AOC@MC, respectively) exhibited promising activity with varied clear zones. The zone of inhibitions formed toward S. aureus and K. pneumoniae after treatment with AOC and AOC@MC were (17.5 ± 0.4 and 10.8 ± 0.7 mm) and (20.1 ± 0.2 and 17.6 ± 0.4 mm) respectively. As shown in Fig. 11 the activity of AOC@MC is greater than the activity of AOC. This phenomenon could be attributed to the presence of magnetite nanoparticles. In a recent study, the functionalized chitosan with magnetite nanoparticles showed antimicrobial activity against Gram-positive and Gram-negative bacteria higher than those of non-functionalized ones [31]. Moreover, the antibacterial activity of chitosan modified with magnetite nanoparticles was better than chitosan and magnetite nanoparticles when applied alone [57].

Fig. 11
figure 11

Antibacterial activity of AOC and AOC@MC

Conclusion

A new modified heterocyclic-magnetite chitosan nano-composite labeled as AOC@MC was synthesized as a sorbent for removing Alizarin Red dye from aqueous solutions. The prepared sorbent was characterized by FTIR, TGA, TEM, SAED pattern, XRD and SEM-EDX, while the corresponding heterocyclic compounds were characterized by 1 H-NMR and FTIR analysis. The sorption efficiency was tested as a function of time at different pH values and different temperatures. The optimum values were pH = 3.0, contact time = 50 min, and adsorbent dosage = 0.03 g/L at 30 °C. The maximum adsorption capacity was approximately 162 mg/g Within 50 min, the removal percent under these conditions reached 98.9%. Adsorption isotherms were applied to characterize the adsorption process. The modified sorbent was also tested as an antibacterial agent. Results showed that AOC@MC exhibits promising antibacterial activity.

In our future study, we will evaluate AOC@MC and other related modified polymers as dye removal sorbents via a case study targets collecting samples from industrial area (paints and leather tannery) in which we will also complete the antibacterial evaluation of sorbents as a related study.