Introduction

Contaminants such as heavy metals and toxic dyes get discharged daily into water sources and constitutes a serious environmental hazard (Ghorai et al. 2014; Corda and Kini 2020). Heavy metals are naturally occurring metallic elements that are characterized by relatively high atomic density (4 g/cm3) and high relative atomic weight with an atomic number greater than 20 (Chibuike and Obiora 2014; Mahey et al. 2020). Heavy metals have been extensively used in agriculture, industry, medicine and other fields for a long history (Shi and Cai 2020). Heavy metals are serious environmental problems due to their persistence, non-degradability, biological toxicity and capability of entering the food chain (Hong et al. 2020). Heavy metals penetrate to human body through food, water and air and cause various disorders (Aprile and De Bellis 2020). High-level exposure to heavy metals may cause organ damage, cancer and joint diseases, and in extreme cases, it may cause death (Swelam et al. 2018). Among heavy metals cobalt (Co) is considered as a strategic metal due to their increase consumption (Bernabé et al. 2019) and wide range applications in various fields and industries such as solar cells (Marand et al. 2020), super-capacitors (Yang et al. 2020), catalysis (Senthamarai et al. 2020), alloying (Ivas’kevych 2020) and textiles (Ding et al. 2019). These industries contaminate water with cobalt which is considered as a major toxic heavy metal pollutant (Al-Jlil 2017). Cobalt adverse effects occur at levels of 7 μg/L or more and in excess can affect multiple organ system (Garcia et al. 2020). It readily adsorbed and moved into plants due to its high mobility and causing various toxicities (Lwalaba et al. 2020). In human, the ingestion of soluble Co salts at elevated amount produce effects on the cardiovascular, hematologic, nervous and endocrine system (Rodrigues et al. 2020; Danzeisen et al. 2020). The standard level of cobalt in drinking water is 2 μg/L (Al-Shahrani 2014). Different methods reported for cobalt removal are reverse osmosis (Imiete and Viacheslovovna Alekseeva 2018), ion exchange method (Aşçi and Kaya 2014), leaching (Khosravirad et al. 2020), solvometallurgical recovery (Peeters et al. 2020), solvent extraction (Yamina Boukraa 2020), adsorption (Bhatnagar et al. 2010; Elmorsy et al. 2019; Dehghani et al. 2020), etc. Among these methods adsorption of cobalt is an effective technique and has many advantages such as environmentally friendly, high efficiency and cost-effective process (Zhang et al. 2017).

Dyes are the organic soluble compounds which impart color to a given substrate due to the presence of chromophoric groups in its structures (Lellis et al. 2019). Dyes are widely used in plastic, textiles and printing industries, result in severe water pollution (Khan et al. 2016; Wu et al. 2020) and create esthetic and environmental issues (Routoula and Patwardhan 2020). Most of these dyes are toxic, carcinogenic and non-biodegradable due to their large size and complex structures, and their accumulation could create potential risks and threats to human and aquatic life (Khan et al. 2020a). Among these dyes, methyl violet is a toxic dye, which is harmful to aquatic life and human beings. In human, it causes severe eye and skin irritation, and gastrointestinal tract irritation if swallowed (Chandraboss et al. 2015; Saeed et al. 2017). Various strategies are reported for the removal of methyl violet such as adsorption (Esmaeili et al. 2018), biosorption (Hamitouche et al. 2016), biodegradation (Parshetti et al. 2009), ion exchange method (Wu et al. 2008) and photocatalytic degradation (Yang et al. 2013; Wu et al. 2017; Dewangan et al. 2020). Among these methods photodegradation has advantages over other conventional methods due to simplicity, pollutants complete mineralization, cost-effectiveness, performed at ambient pressure and temperature, no harmful by-products and reducing pollutants to ppm and ppb concentration (Khan et al. 2020b).

In the present study, cobalt was adsorbed on the cross-linked chitosan film and then cobalt adsorbed cross-linked chitosan (Co/cross-linked chitosan) were utilized as photocatalyst for the photodegradation of methyl violet dye (MV). Chitosan is a polysaccharide mainly composed of D-glucosamine and, in a lower proportion, N-acetyl-D-glucosamine units randomly β-(1-4)-linked (Ojeda-Hernández et al. 2020). Chitosan were first cross-linked through glutaraldehyde which could cross-link the amino groups. The cross-linking improves its heat resistance, mechanical strength, chemical stability and reduce its solubility in acidic medium (Szeto et al. 2014). Chitosan is a low-cost polymer (Upadhyay et al. 2020), widely reported for adsorption of heavy metals in pure and modified forms (Zhuang et al. 2018; Pietrelli et al. 2020; Velasco-Garduño et al. 2020). Chitosan materials are reported as photocatalyst for the photodegradation of dyes (Khan et al. 2019, Khan et al. 2021; Aziz et al. 2020; Ahmad et al. 2020). The effect of irradiation time, photocatalysts dosage, initial dye concentration, pH of the medium and photocatalyst sustainability on photodegradation of MV dye was evaluated.

Experimental works

Materials

Chitosan, acetic acid, glutaraldehyde and cobalt chloride hexahydrate (CoCl2·6H2O) were purchased from Sigma-Aldrich. Methyl violet dye was purchased from Scharlau.

Preparation of chitosan film

The known amount of chitosan was dissolved in 250 mL 5% (v/v) acetic acid to prepare viscous solution of chitosan polymer. The gel form of chitosan was stirred at room temperature to become more viscous and clear solution. The clear and viscous solution of chitosan was poured in petri dish and place on smooth surface. The petri dish was allowed to stand at room temperature to evaporate solvent and form chitosan film. The obtained transparent film of chitosan was dried in oven at 45 °C to evaporate all solvent molecules and avoid its thermal degradation.

Cross-linking of chitosan

Small strips of chitosan were added to 100 ml clutaraldehyde. The solution is allowed for 3 h at room temperature which forms hydrogels like structure. The chitosan strips is then separated and washed several times with distilled water to remove unreacted species. The obtained cross-linked chitosan samples were then oven-dried at 45 °C for overnight.

Adsorption of cobalt on cross-linked chitosan

To study the adsorption capacity of cross-linked chitosan film, 0.02 g chitosan film was shacked in 10 mL CoCl2. 6H2O aqueous solutions of different concentrations (150 ppm, 300 ppm, 450 ppm, 600 ppm, 750 ppm and 900 ppm) for 120 min using mechanical shaker (Wrist action shaker model 75-Burrel, Scientific Pittsburgh, PA, USA). After completion the adsorption times, the Co adsorbed cross-linked chitosan (Co/cross-linked chitosan) strips were separated and the amount of Co adsorbed from aqueous solutions was investigated using atomic adsorption spectrometer (AAS). The sample having maximum Co adsorbed was then utilized for dye degradation study.

The amount of Co adsorbed on cross-linked chitosan was calculated using the adsorption capacity Eq. 1.

$${\text{Adsorption capacity }}\left( {{\text{mg}}/{\text{g}}} \right) = \left( {\frac{{C_{o} - Ce}}{m}} \right) \times V$$
(1)

where Co is the initial concentration of Co ions in ppm, Ce is the concentration Co ions at equilibrium, m is the mass of the adsorbent and V is the volume of solution containing solute.

Photocatalytic degradation of methyl violet dye

The Co/cross-linked chitosan strips were used as photocatalysts for the photocatalytic degradation of MV dye under UV light irradiation (254 nm, 15 W) as a function of several parameters. In irradiation time study, 0.02 g Co/cross-linked chitosan strips was added to 10 mL MV solution (50 ppm) in 50-mL beakers. The samples were covered with transparent sheet in order to allow UV light radiation and to prevent dehydration. The samples were placed in dark for 30 min to attain adsorption–desorption equilibrium. The dye solutions were then irradiated under UV light as a function of time (30, 60, 90, 120, 150 and 180 min) with constant stirring. After specific irradiation time, Co/cross-linked chitosan strips were removed from dye solution.

The recovered Co/cross-linked chitosan strips were washed properly for several times with distilled water in order to remove the adsorbed dye and dried at 45 °C (to avoid thermal decomposition of chitosan) in oven. The recovered catalysts were used under the same experimental conditions in order to check its sustainability. The effect on the photocatalyst dosage (0.01, 0.02, 0.04 and 0.6 g), initial dye concentration (30, 40, 50, 60 and 70 ppm) and pH of the medium (2, 4, 6, 8 and 12) on photodegradation were also investigated keeping other parameters constant. The %degradation of MV dye is calculated by using Eq. 2 and 3.

$${\text{Degradation rate }}\left( \% \right)\, = \,\left( {\frac{{C_{{\text{o}}} - C}}{{C_{{\text{o}}} }}} \right) \times 100$$
(2)
$${\text{Degradation rate }}\left( \% \right)\, = \,\left( {\frac{{A_{{\text{o}}} - A}}{{A_{{\text{o}}} }}} \right) \times 100$$
(3)

where C0 represents the initial concentration of dye, C stands for dye concentration after the reaction, Ao symbolize initial absorbance and A shows the absorbance of dye after the reaction.

Instrumentation

The morphological study of chitosan, cross-linked chitosan and Co/cross-linked chitosan were analyzed using JEOL, JSM-5910 SEM. The EDX spectrometric study analysis of samples was performed on EDX (model INCA 200/Oxford Instruments, UK, company oxford), in order to investigate the elemental composition of the samples. The functional group analysis of the samples was performed through FTIR spectrometer (PerkinElmer, serial number 95120). The TGA thermograms of all samples were obtained in a nitrogen atmosphere at a heating rate of 10 ºC/min from room temperature to 600 °C using a TGA (TGA-50 Shimadzu). The photodegradation study of methyl violet was performed using UV–visible spectrophotometer (UV-1800, Shimadzu, Japan).

Results and discussion

Cobalt adsorption and equilibrium isotherms

Table 1 shows the adsorption of Co on chitosan at different Co salt concentrations. Table 1 shows that adsorption increases as its Co salt concentration increases. The table demonstrates that as maximum adsorption of Co ions on F-chitosan is achieved in the solution sample having 600 ppm concentration. Increasing Co salt concentration beyond 600 ppm, adsorption of Co decreases. The F-chitosan with maximum Co adsorption, i.e., obtained from 600 ppm solution were utilized as photocatalyst for the photodegradation of dye.

Table 1 Adsorption of Co by cross-linked chitosan

Figure 1 shows the equilibrium adsorption quantity of Co (II) at 2 h under various equilibrium concentrations. It was found that initially the adsorption increased as increased the Co (II) concentration and then leveled off. The initial increase in Co (II) adsorption with the increase in its concentration might be due to the availability of active sites on cross-linked chitosan film, and then, the adsorption equilibrium is reached to maximum because of saturation of cross-linked chitosan film active sites. The adsorption equilibrium data of Co (II) were also analyzed by Langmuir and Freundlich isotherm models. These models provided the relationship between the amount of Co (II) adsorbed on surface of adsorbent and the concentration of Co (II) in solution at equilibrium. The linear form of Langmuir equation is represented in Eq. 4

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

where Ce (mg L–1) is the equilibrium concentration, qe (mg g–1) is the amount adsorbed per gram of adsorbent, and KL and qm are the Langmuir adsorption isotherm constants, respectively. The linear form of Freundlich equation is represented in Eq. 5:

$${\text{In}}q_{{\text{e}}} = {\text{lnK}}_{{\text{F}}} + \frac{1}{{\text{n}}}{\text{ln }}C_{{\text{e}}}$$
(5)

where KF is the Freundlich sorption isotherm constant (mg g–1) and 1/n (g L–1) is a measure of the adsorption intensity of heterogeneity factor. qe (mg g–1) is the amount adsorbed per gram of adsorbent and Ce (mg L–1) is the equilibrium metal ion concentration. The R2 values are calculated for both Freundlich and Langmuir isotherms. The R2 value for Freundlich isotherm was 0.9747 while the R2 value for Langmuir isotherm was 0.6357. It means that the values are best fitted to Freundlich isotherm as compared with Langmuir isotherm.

Fig. 1
figure 1

a Adsorption isotherm, b Langmuir isotherm and c Freundlich isotherm for the adsorption of Co from aqueous solutions on cross-linked chitosan

Morphological and elemental composition study

Morphological study was performed to analyze the surface of chitosan and investigate the adsorbed cobalt particles on its surface. Figure 2 shows the SEM images of chitosan surface of different areas. Images show that chitosan has corrugated surface which is very suitable for metal ions adsorption. Figure 3 represents the SEM images of Co/cross-linked chitosan at different magnifications. Images illustrate that Co ions coagulate over each other on chitosan surface and form bulky particles. The images also revealed that Co particles are uniformly adsorbed on the surface of chitosan.

Fig. 2
figure 2

SEM images of pure chitosan of different surfaces

Fig. 3
figure 3

SEM images of Co/cross-linked chitosan at different magnifications

Figure 4a, b illustrates the EDX spectra of cross-linked chitosan and Co/cross-linked chitosan, which confirmed (4b) the presence of Co on the surface of chitosan. The elemental analysis presented that functionalized chitosan had only carbon and oxygen while in Co adsorbed chitosan, Co and minute quantity of chlorine were also found along with carbon and oxygen. The presence of Cl ion is due to the use of chloride salt for metal adsorption. Figure 4a, b also contains % elemental composition of respective elements in tabular form.

Fig. 4
figure 4

EDX spectra of chitosan and Co/cross-linked chitosan

FTIR analysis

Figure 5 shows the FTIR spectra of chitosan, cross-linked chitosan and Co/cross-linked chitosan. The broad absorption peak that became strong after functionalization at 3350 cm−1 was an overlap of N–H and O–H stretching vibration absorption peaks. The absorption bands at around 2921 and 2877 cm−1 can be attributed to C–H symmetric and asymmetric stretching, respectively. The peaks observed at 1634, 1529 and 1378 cm−1, corresponding to characteristic absorption peaks of amide I, amide II and amide III bands. The absorption peak at 1073 cm−1 was the stretching vibration of C–O in the C-6 position. The decrease in the peaks after cobalt adsorption suggests that these functional groups are responsible for cobalt adsorption.

Fig. 5
figure 5

FTIR spectra’s of chitosan, cross-linked chitosan and Co/cross-linked chitosan

Thermogravimetric analysis

Figure 6 shows the thermal degradation study of chitosan, cross-linked chitosan and Co/cross-linked chitosan. The 1st stage degradation was observed at about 60–155 °C, which might be attributed to the evaporation of absorbed and bound water. The 2nd stage degradation started at 245 °C and continues up to 400 °C, which might be due to the degradation of chitosan main chain. The 3rd stage degradation started at about 450 °C, which might be due to the remaining residue in all samples.

Fig. 6
figure 6

TGA curves of chitosan, cross-linked chitosan and Co/cross-linked chitosan

Photodegradation of methyl violet

The Co/cross-linked chitosan were utilized as photocatalyst for the photodegradation of methyl violet (MV) dye in aqueous medium under UV light. In a time study, a constant amount of Co/cross-linked chitosan was added to 10 ml MV dye and kept in dark for 20 min to attain adsorption–desorption equilibrium and then kept under UV light for specific irradiation time. Figure 7a shows the UV–visible spectra of MV dye before and after UV light irradiation in the presence of Co/cross-linked chitosan. The figure shows that a decrease in dye absorption spectra is observed with increasing irradiation time. Figure 7b shows %degradation of MV dye photodegraded by Co/cross-linked chitosan. Initially Co/cross-linked chitosan degraded about 70.86% within 30 min which increases up to 97.78% by increasing UV light irradiation time to 180 min.

Fig. 7
figure 7

a UV–Vis spectra of MV dye photodegraded by Co/cross-linked chitosan, b %degradation of MV dye photodegraded by Co/cross-linked chitosan

The used Co/C is washed with distilled water and again used as photocatalyst for MV dye under the same experimental conditions. The photocatalytic activity of recovered Co/cross-linked chitosan is compared with the fresh Co/cross-linked chitosan in order to check its photocatalytic sustainability. Figure 8 shows the comparison of % degradation of MV dye photodegraded by fresh and recycled Co/cross-linked chitosan under UV light. The results show that fresh Co/cross-linked chitosan degraded about 97.78% MV dye within 180 min while the recycled Co/cross-linked chitosan degraded about 86.97% within the same irradiation time. The result shows that recycled Co/cross-linked chitosan is much sustainable and degraded MV dye significantly.

Fig. 8
figure 8

Comparison of % degradation of MV dye photodegraded by fresh and recycled Co/cross-linked chitosan under UV light

Effect of photocatalyst dosage

The effect of photocatalyst dosage on the rate of photodegradation of MV dye was also studied by adding different amounts of Co/cross-linked chitosan ranging from 0.01 to 0.06 g keeping other parameters constant. Figure 9a represents the UV–Vis spectra of MV before and after UV light irradiation time employing different amounts of Co/cross-linked chitosan. Figure 9b shows the %degradation of MV dye photodegraded by different amounts of Co/cross-linked chitosan. Both the figures revealed that increasing photocatalyst dosage increases the rate of photodegradation of MV dye. It was found that 0.01 g of Co/cross-linked chitosan degraded about 74.07% dye which increases to 97.19% by increasing photocatalyst dosage to 0.06 g.

Fig. 9
figure 9

a UV–Vis spectra of MV before and after UV light irradiation time in the presence of different amounts of Co/cross-linked chitosan, b %degradation of MV dye photodegraded by different amounts of Co/cross-linked chitosan

Effect of initial dye concentration

The effect of initial concentration of MV dye on the photodegradation rate was also evaluated and it is observed that increasing initial dye concentration of MV decrease the rate of photodegradation. Figure 10 shows the %degradation of MV dye potodegraded by constant amount of Co/cross-linked chitosan at various initial concentrations ranging from 30 to 70 ppm. The figure shows that initially at 30 ppm Co/cross-linked chitosan degraded maximally 92.16% which then decreases to about 60% by increasing initial concentration of MV dye to 70 ppm. The lower photodegradation rate at high concentration is due to adsorption of dye molecules on the active sites of photocatalyst surface and also leads to low photon penetration in dye solution.

Fig. 10
figure 10

%Degradation of MV at various initial dye concentration photodegraded by Co/cross-linked chitosan

Effect of pH of the medium

As different industries discharge their effluents at different pH, so its effect on photodegradation of MV dye was also investigated. The pH of the medium plays a significant role in degradation of textile wastes and generation of hydroxyl radicals. Figure 11 represents the %degradation of MV dye photodegraded by Co/cross-linked chitosan at various pH ranges from 2 to 10. The figure shows that rate of dye degradation is faster in acidic media and decreases as pH of the medium increases. The %degradation results revealed that at pH 2 about 92.72% MV dye degraded which increases gradually to 94.11% by increasing pH to 4. After pH 4, the rate of photodergadation of MV dye decreases to 69.23% by increasing pH of the medium to 10.

Fig. 11
figure 11

%Degradation of MV at photodegraded at different pH by Co/cross-linked chitosan

Conclusion

Cross-linking of chitosan not only increases its mechanical and thermal stability but also increases its metals adsorption capability. The cross-linked chitosan were not only utilized for cobalt adsorption but also reutilized (Co/cross-linked chitosan) for the photodegradation of MV dye in aqueous medium. The photodcatalytic activity of Co/cross-linked chitosan might be due to the presence of Co present on the surface of cross-linked chitosan. The photodegradation study revealed that the rate of photodegradation of MV increases by increasing irradiation time and photocatalysts dosage and decreases by increasing initial dye concentration and pH of the medium. The increase in the dye degradation with increase in photocatalysts dosage is due to the availability of more active sites for dye adsorption followed by photodegradation. The lower efficiency in higher initial dye concentration is due to higher adsorption of dye molecules on the photocatalyst surface which block its active sites and the lower penetration of UV light. The efficiency of recycled photocatalyst shows that cobalt adsorbed chitosan is highly sustainable.