1 Introduction

Excessive and uncontrolled anthropogenic activities in different areas such as transport, industry, agriculture and urbanization lead to adverse environmental conditions globally. Day by day improvement of living standards and development of higher consumer demand have resulted in increase in the air pollution for instance NOx, SOx and greenhouse gases including CO2. Water pollution has been caused by excessive utilization of chemicals, leachates, disposable goods, non-biodegradable, oil spills, sludge, and pesticide spreading along with improper facilities of waste disposal [1]. The production, distribution and release of synthetic chemicals into environment have been exceeding with unexpectedly high rate that is greater than any other factor responsible for global change in ecosystem [2]. A statistical report published in 2013 by EURO-STAT, clearly inferred that 50% of the total compounds produced from the year 2002 to 2011 represents the class of environmentally hazardous compounds. Sever environmental consequences are caused by above 70% of these chemicals [1]. Worldwide textile dyeing industry is considered as a major source of environmental pollution. Inorganic salts, alkalis, surfactants and dyes from these textile industries are discharged excessively to the effluents [3].

Water is the key element for life. Only 3% of the total water present on earth is categorized as fresh water and of this 3% only 0.01% is available to fulfill human needs. Availability of safe and healthy drinking water is the basic need and right of mankind throughout the world. Due to excessive use of water for drinking purpose as well as its usage as a universal solvent makes it a source of infectious diseases. According to a report of World Health Organization (WHO) waterborne diseases accounts for 80% of the diseases in developing countries [4]. WHO describes “safe drinking water” as the water that does not pose any serious risk to health over the period of its usage, with various sensitivities that may happen between its different life stages [5]. Surface and ground water have been considered as separate resources but now it is evident that surface water after seeping through soil become ground water.

Industrialization is a key to success for each country so Pakistan being a developing country has established many industrial units, this rapid industrialization has negative impact on the environment. The most threatening situation is that most of the industrial units in many cities of Pakistan are without any proper wastewater treatment plant [6]. Different anthropogenic activities have been found to be responsible for water pollution. The sources of water pollution can be classified into two types; point sources and diffuse sources. Pipes draining into river are example of point sources while crop production is an example of diffuse source of pesticides and nutrients in river [7].

Being major source of drinkable water ground water reserve has major importance for human being. It was considered that ground water is purer form of water than any other form as it is not directly contaminated by organisms and wastes. But recent researches indicate that rapid industrialization and urbanization have resulted in accumulation of hazardous substances and consequently deterioration of water quality. Consumption of contaminated water resulted in accumulation of toxic metals in the body of humans. Industrial wastes and emissions directly or indirectly contaminates the underground water of industrial areas of Pakistan [8]. By-products of different industries including cement, fertilizers, leather, dyeing chemicals, sugar, steel, energy and power, food processing, engineering, mining and many others are the main source of pollution of both surface and groundwater [9]. Industrial waste, municipal sewage and waste of urban and rural areas are drained to river and canals thus increases the water pollution. This exceedingly high pollution have resulted in higher chemical oxygen demand (COD), biological oxygen demand (BOD), total suspended solids (TSS), total dissolved substances (TDS), fecal coliform and toxic metals like Cd, Cr, Pb and Ni in river and canal water. In developing countries safe drinking water is not in the access of about 60% of the population [10].

Those dyes and pigments which are easily soluble in water, are considered as pollutants with accommodate in the wrong place and wrong time, also some of them are responsible for increasing the toxicity of water. The number of commercially available dyes has been increased up to one hundred thousand and these are easily visible with the naked eye even at very limited concentration in contaminated water [11]. Globally 10,000 different types of dyes are produced and textile industries consume about 8 × 105 tons of synthetic dyes [12]. Color is one of the most toxic organic pollutants that must be removed during wastewater treatment. Out of all types of dyes azo dyes are preferably used for dyeing in the textile industries due to their ability to form colloidal dispersion and having low solubility in water. Azo dyes are further classified as direct, acidic, basic, vat, disperse and reactive dyes etc. Disperse dyes contain azo chromophores combined with aromatic groups. These dyes are used for coloring a wide variety of synthetic fibers such as nylon, polyester and cellulose etc. Due to their stable and complex molecular structures these dyes are difficult to be degraded by traditional technologies. These are highly stable towards light, temperature and microbial attack [13]. Most of industries including textile industries, pharmaceutical, paper and pulp etc. have been found to use reactive dyes most frequently. Reactive dyes are non-biodegradable dyes and require new technologies for their removal from polluted water [11].

Presence of heavy metals in water up to toxic level also pose a great threat to the human health, animal and plants [14]. Heavy metals enter the open water system through a variety of ways such as erosion of rocks, weathering, volcanic eruption and manly activities for example mining, smelting, industrial and agricultural. These heavy metals include copper (Cu2+), iron (Fe), sodium (Na+), magnesium (Mg2+), chromium (Cr), zinc (Zn), mercury (Hg), nickel (Ni) and lead (Pb) [15].

Waste water of coloring industries is considered as the most polluted water across the world and it has become the potential source of harm for all creatures including human beings due to deleterious consequences of the dyes present in it. Some dyes have been proved to have mutagenic and carcinogenic effects. Other effects include improper functioning of liver, kidney, reproductive system, brain and central nervous system [16]. In textile industry dyeing process results in about 10–50% loss of coloring material to the environment. In addition to the toxicity and mutagenicity dyes are believe to reduce the penetration of light through water thus results in overall reduction of photosynthetic activity and oxygen deficiency. This polluted water cannot be used for drinking purpose, recreation and irrigation [17]. Toxic effects caused by heavy metals include abdominal pain, irritability headache, kidney damage, skeletal damage, nerve damage and cancer [15].

Traditional waste water treatment techniques include biological oxidation, chemical oxidation, advanced oxidation, adsorption and coagulation. But these techniques are not very effective if applied individually and these are not applicable to all types of dyes for example disperse dyes can be easily decolorized by coagulation process but this process is ineffective for soluble dyes [18]. All technologies of water treatment can be divide into three main categories namely biological, physical and chemical. All methods have their own pros and cons.

Biological methods are used in four ways for adsorption such as utilization of white rot fungi, utilization of microbial culture, utilization of living or dead microbial biomass and anaerobic bioremediation system. White rot fungi have ability to dissolve dye using enzymes but at the same time it has always been considered unreliable. Mixed bacterial cultures can decolorize dye solution in 24 to 30 h but these are unable to metabolize azo dyes in aerobic conditions. Some dyes can bind effectively with living or dead microbial biomass but does not work well for all dyes. Under anaerobic conditions all water-soluble dyes including azo dyes are decolorized but it results in production of hydrogen sulfide and methane.

Chemical methods for adsorption can be performed by following ways; oxidative process, fenton’s reagent, ozonation, photochemical, sodium hypochlorite (NaOCl) and electrochemical destruction. Oxidative process is simpler process but some methods are required for the activation of H2O agent. Fenton’s reagent is also an important method but it gives large amount of sludge. Ozonation is an effective method as ozone gas can be used in its gaseous form and there is limited amount of sludge production but it has short half -life of about 20 min. Photochemical method has advantage of no sludge production and reduced production of foul smell but it involves synthesis of by-products. Sodium hypochlorite accelerate the cleavage of azo bond but this reaction is accompanied by the release of aromatic amines. Electrochemical destruction method does not utilize any chemical and also there is no sludge production but it has problem of relatively high flow rate that decrease the overall removal of dye.

Physical methods for waste water treatment include adsorption by activated carbon, membrane filtration, ion exchange, irradiation and electrokinetic coagulation. Adsorption process utilizing activated carbon as an adsorbent is very efficient method for the removal of dye but it is expensive. Membrane filtration can remove all types of dyes but produce sludge. In ion exchange process no adsorbent is lost but it is not equally effective for large number of dyes. Irradiation involves lab scale irradiation but, in this process, dissolved oxygen is required in large amount. Electrokinetic coagulation is an economically friendly process but it involves production of large amount of sludge [19].

Adsorption is the most appropriate method for the removal of dyes as it is low cost, has flexible design and does not involve production of any by-product. Chemical and biological methods have their own disadvantages as chemical methods results in the production of foul smell and harmful by-products while biological methods are very time consuming. Adsorption is also an effective method as compared to other physical processes as in ion exchange process high amount of sludge is produced. In addition, adsorption is easy to use, cheap and best suited for the elimination of nearly all types of dyes. So it is most desirable method for the removal of dyes, pigments, heavy metals and other contaminants from waste water [16]. Adsorption process is of two types i.e., physiosorption or physical adsorption and chemiosorption or chemical adsorption. Physiosorption involves Van der Waals forces, static interactions, pi–pi interaction and dipole–dipole forces and other weak intermolecular forces between adsorbent and adsorbate. Chemiosorption involves formation of bond by electron exchange between adsorbent and adsorbate [20].

The adsorption process requires adsorbent that is cheap and have high surface area. High surface area may results in increase in adsorption potential [21]. A variety of materials have been used as adsorbent such as activated carbon, agricultural solid wastes, agricultural solid waste based on activated carbon, clay and minerals [22]. Activated carbon is the most effective adsorbent used for dye removal due to its various properties such as micro-pore structure, high degree of surface reactivity, large surface area and good adsorption capacity. But despite of these advantages activated carbon cannot be employed as an adsorbent because it is very costly and after being used its regeneration is very costly [23].

Agricultural wastes are the chief adsorbent for the process of dye removal due to some beneficial properties such as they are easily available in excess amount, renewable and very economic friendly. Examples of agricultural wastes that have been used as adsorbent are coconut shell, bamboo dust, rice husk, and straw [24]. The attempts to derive activated carbon from agricultural wastes such as bamboo, olive stone, corn cob and many others have been done as this would be a cheap source of activated carbon. Agricultural wastes are comparatively less costly and renewable source of activated carbon. In order to be a precursor of activated carbon any material should be cheap, must be rich in carbon and its inorganic content should be low. Activated carbon is obtained from agricultural waste through pyrolysis in controlled conditions. Pyrolysis may or may not require chemical activating agent [25].

Needle like and sheet like structured clay material have been used as a cheaper adsorbent because of their high specific surface area. Clay has layered structure and this layered structure give the basis of classification of clay material into some classes like sepiolite, serpentine, kalonite and vermiculite. Clays are the natural, widely used and environmentally friendly adsorbent possessing very good specific surface area. These material have strong ability to bind with heteroatomic dyes of both cationic and anionic nature [26].

Clay is hydrous aluminosilicate material chiefly composed of two repeating units: a tetrahedron of silicon and oxygen (Si2O5)2− and an octahedron of aluminium also termed as gibbsite sheet. In tetrahedral sheets every three out of four oxygen atoms is shared by each tetrahedron. These tetrahedron arranged in a pattern forming a hexagon in which basal oxygens are linked while the apical oxygens are pointing up and down. In octahedral sheets each octahedron shares edges with nearby octahedron. These edges consist of oxygen atoms and groups of hydroxyl anions together with Mg2+, Fe2+ and Al3+ as coordinating cations. Hexagonal structure is formed by these octahedrons. Both naturally occurring and modified clay materials can be used as adsorbent. Clay is divided into three or four major groups namely Kaolinite, illite, montmorillonite, chlorite and smectite (Fig. 1).

Fig. 1
figure 1

Classification of clay

Clay is a versatile adsorbent material that can be used in various applications to remove contaminants and impurities from liquids and gases. The adsorption process involves attracting and holding molecules of the adsorbate (contaminant) onto the surface of the adsorbent (clay). There are different types of clay, and each type exhibits unique adsorption properties. Some of the common types of clay used as adsorbents are [27]: kaolin clay also known as china clay, kaolin clay is a white or light-colored clay that has a high adsorption capacity for organic compounds. It is commonly used in water purification processes and wastewater treatment to remove pollutants such as heavy metals, organic dyes, and oils [28]. Bentonite is a type of clay composed mainly of montmorillonite. It has a high surface area and a strong affinity for organic compounds and certain heavy metals. Bentonite clay is widely used in the removal of contaminants from water and in the purification of edible oils and wines [29]. Montmorillonite is a type of clay with excellent swelling properties and a large surface area. It is used as an adsorbent in various applications, including the removal of heavy metals, organic compounds, and radioactive materials from water and soil [30]. These are just a few examples of the many types of clay that can serve as effective adsorbents. The choice of clay depends on the specific application and the type of contaminants to be removed. Each type of clay has its own unique adsorption properties and may require specific preparation and activation methods to optimize its adsorption capacity.

Illite is the only common mineral and chlorites are sometimes considered as a distinct group of phyllosilicate materials. Almost thirty various types of clays are present in these groups but natural clay is actually mixture of these clay types and weathered minerals [31]. Negatively charged silicate groups determine the adsorption capacity of clay minerals. These negative charges bind to and neutralize by the cationic dyes. Montmorillonite is the type of clay with highest adsorption capacity. The clay can be modified to improve its adsorption efficiency [32]. 1:1 layer structure consists of one tetrahedral and one octahedral sheet, each octahedral sheet is connected with tetrahedral sheets through its apical O2− ions. 2:1 layer structure is made up of two tetrahedral sheets and one octahedral sheet, one of the tetrahedral sheet is linked to octahedral sheet on each side.

Two types of charges exist in clay minerals namely structural charge and surface charge. Structural charge on the clay mineral is due to substitution of ions and it is permanent charge originating within the interior of layers while the surface charge keeps on changing depending on the pH and in clay minerals with 1:1 layer type both tetrahedral and octahedral sheets contributes in surface charge while in 2:1 layer type surface charges appear on the tetrahedral sheet at their basal surface. In both layer type i.e. 1:1 and 2:1 surface charges appear on the edges of sheet. Surface charge is produced by the hydrolysis of Si–OH or Al–OH bonds present throughout the clay lattices. Hence the net surface charge depends on the structure of silica and pH of the solution. Anion exchange capacity develop in clay when pH is less than the pH at point zero charge or pH (pzc) while the cation exchange ability develop in clay when pH is greater than pH at point zero charge or pH (pzc). Point zero charge (pHpzc) denotes the pH value at which total net charge is zero (Eqs. 1, 2).

$$\mathrm{SiOH}+{\mathrm{H}}^{+}\to {\mathrm{SiOH}}_{2}^{+}\dots \dots \dots (pH<{pH}_{pzc})$$
(1)
$$\mathrm{SiOH}+{\mathrm{OH}}^{-} \to {\mathrm{SiO}}^{-}+{\mathrm{H}}_{2}\mathrm{O}\dots \dots \dots (\mathrm{pH}<{\mathrm{pH}}_{\mathrm{pzc}})$$
(2)

Surface charge contributes to different extent in case of both 1:1 and 2:1 layered type. In the case of 1:1 layer type maximum portion of the total charge is contributed by the surface charge while in the case of 2:1 layer type less than 1% of the total charge is contributed by the surface charge [33].

Alginates are the naturally occurring polysaccharides obtained from bacteria and brown algae. It is a linear co-polymer that is formed by polymerization of two subunits α-l-guluronic acid and β-d-mannuronic acid [34]. Alginates are derived from alginic acid, a carboxyl group carrying biopolymer having strong ability to form metal ions containing complexes. Hydrogel formation is an important property of alginates. By the addition of metallic cations most appropriately divalent cations for example Ca2+, its aqueous solution is converted to hydrogel. Microbial cultures containing immobilized calcium alginate have been studied as an adsorbent for dye and metals ions [35]. Alginates have some different useful properties such as it is hydrophilic in nature, nontoxic and biocompatible. The property of gel formation in sodium alginate depends on exchange of sodium ions already present in guluronic acid residue with various divalent cations for example Ca2+, Ba2+ and Sr2+, etc. This exchange of cations results in a three dimensional network [36].

1.1 Water pollution and treatment

Water is a crucial and an indispensable component of earth, it has high importance as all life forms depend on it, pure water is used for drinking purpose as well as for the completion of processes crucial in life of an organism [37]. Pakistan is widely known for its abundant natural resources water. But with the passage of time quality and quantity of that water is deteriorating. Pakistan is one of those thirty countries which are on the brink of water deficiency and the situation is becoming worse [38]. Water is considered pure when it has no color smell and taste. Water is becoming impure due to presence of inorganic chemicals or organic compounds, micro-organisms, industrial wastes domestic wastes and hazardous chemical compounds. Water purity can be determined by both either physical like smell, taste, color, particles, pH, temperature etc. or by chemical routes [39]. Presence and absence of chemical substances define purity of water [40]. Generally, the amount contaminants like calcium bicarbonates and calcium chlorides increased upon down streaming due to water–rock interactions [41].

One of the most significant environmental problems endangering the viability of healthy ecological processes in semi-arid and arid regions is the salinity hazard of agricultural land [42]. The leachate leaking through the permeable Cenomanian marly limestone generates the high mineralization. The accumulation of Cd, Pb, Cu, Zn, Fe, and Mg elements in sediments was also the reason for the water quality degradation [43]. It was studied, that vulnerability mapping appears to be a useful method for managing water resources [44, 45].

Municipal, industrial and agricultural wastes are being discharged in open water system and these are major causes of water pollution. In every 24 h 2000 million gallon of the effluents are being expelled in the water bodies. Bigger industrial units such as leather pesticides paint, chemical textile paper and pulp, plastic, poultry, pharmaceuticals, dairy, leather and tanneries are major source of pollution of both surface and ground water [46]. Fertilizers and pesticides on excessive usage become contributor of water pollution as they seeps through soil and become part of ground water [47].

1.2 Dyes as pollutant

Dyes are molecules of organic nature having highly complicated structures and give color to the substrate by binding with its surface. Dyes have applications in various fields like plastics, food processing, paper, leather, textile tanning, printing and cosmetics and to fulfill their purpose in these areas these are made to remain unaffected by numerous things such as detergents. When waste water of these industries is discharged into natural water resources than unusual color develop in the natural water and penetration of light through it decreases which ultimately results in reduced biological and photochemical reactions. About more than 100,000 commercial dyes are produced at the rate of about 7 × 105 tons per year and textile dyes consumed about 10,000 tons of these dyes annually. Annually about 100 tons of dyes are discharged in natural water resources [19].

1.3 Classification of dyes

1.3.1 Natural dyes

In early times dyes were obtained from natural resources most commonly from vegetables. Such dyes were in common use of Egyptians who may have acquired this knowledge of dyes from Chinese. Properties of some dyes are given in Table 1 [48].

Table 1 Natural dyes and their sources [48]

1.3.2 Synthetic dyes

The origin of synthetic dyes can be drawn back to nineteenth century when an 18-year-old chemist Perkin working with August William von Hofmann for the synthesis of quinine for the treatment of malaria by chance discovered bright purple color dye. It can dye silk fabric to bright purple and was named “mauve”. The name mauve was derived from the French name for the mallow flower but later it was changed to “mauveine”. Later a variety of dyes has been synthesized for example azo dyes, direct dyes, indigo dyes and many more [48]. Various classes of such type of dyes their application and examples are given in Table 2.

Table 2 Synthetic dyes and their applications [16]

1.4 Impact of dyes on human health

In terms of quantity and manufacturing, azo dyes make up 60 to 70 percent of all organic dyes manufactured by industries across the world. The aryl amine derivatives produced by the reductive biotransformation of the azo-bond, along with the azo compounds themselves, are very poisonous. As soon as they reach the body, intestinal microbes create the enzymes azoreductase and nitroreductase, which catalyse the breaking of the azo bond and the nitro group, respectively. N-hydroxylamines are often produced as a result of this sort of bond breaking, which might harm DNA [17, 49, 50]. Aromatic amines produce explosive, extremely poisonous, and carcinogenic aromatic amines, which are formed by azo dyes. One of the most frequent carcinogens in dyes is benzidine, which needs to be eliminated from water. Additionally, metals and other additives used in the production of dyes are present in waste water. To keep the purity of the water, these impurities must be eliminated [51].

1.5 Techniques used for water treatment

Presence of synthetic dyes in wastewater is very dangerous for environment. These dyes must be removed by adopting separation techniques to avoid their harmful effect on environment as well as on health of human. Dye separation techniques are categorized into three types namely biological, physiochemical method and chemical. These techniques are adopted by analyzing various facts like efficiency, design, and overall cost Dawood and Sen, 2014). Broadly waster water treatment strategies are classified into three major brancher chemical treatement, biologhical treatement and physiochemical treatment see Fig. 2.

Fig. 2
figure 2

Types of waste water treatment techniques

1.6 Adsorption

Adsorption means up taking or immobilization of contaminants by the adsorbents. This immobilization occurs by different mechanisms such as structural incorporation, surface precipitation, partition, surface adsorption (Fig. 3a–f). Surface precipitation refers to the phenomenon that involves adsorption of contaminants on the adsorbent surface and then precipitates formed by saturation of cations and anions in large amount [52, 53]. For example, co-adsorption of cations and oxyanions on the surface of metal (hydr) oxides. Partition involves distribution of contaminants between two phases and penetration of contaminants into the entire bulk phase rather than being concentrated on the surface of adsorbent. Soil organic carbon materials can enhance the fertility upon transformation between phases [54]. Incorporation of ions or free radicals on the surface of adsorbent or stationary phase is one of the structure incorporation process, which can be used as a tool for water treatment. For example, we can use mineral crystal structures for incorporation of amorphous metal ions, this incorporation or adsorption may be physical or chemical [55, 56].

Fig. 3
figure 3

Uptake mechanism of various absorbents. a Surface precipitation: Cd+2 and phosphate precipitation on the surface of metal(hydr)oxide, b Partition: uptake of HOC to soil organic matter (SOM) or partition process, c structural incorporation: Ni+2 and bimessite up taking by structure incorporations, d adsorption process, e ligand exchange, f ionic exchange or up taking of cations, green color shows the cation that should be replaced by incoming cation in purple)

The contaminations of particles on the surface of adsorbent via weak intermolecular forces like van der wall forces are considered as physical adsorption, while contamination because of ionic or covalent bonding are called chemisorption. For example, the contaminants such as adsorbed HOCs on the surface of activated carbon is a type of physical adsorption [57] while that of metal ions on metal (hydr) oxides are type of chemisorption [58]. The contaminants suspended in water can easily exchange with the metal ions adsorbed on the adsorbent surface when attached via electrostatic interactions. An illustration of electrostatic interaction is the adsorption of heavy metal cations by montmorillonite [59].

1.7 Adsorbents

Adsorbent selectivity is influenced by its overall cost, usability, surface area, and adsorption capability. For the removal of dye during waste water treatment, a variety of adsorbents including commercially available activated carbon, solid wastes of agriculture, clay and minerals can be employed [22]. Dyes are removed due to different types of interaction with these functional groups present on the cell surface. There are many factors that affect the interaction between dyes and functional groups on the cell surface and these are pH, temperature, contact time and properties of both adsorbate and adsorbent [60].

1.7.1 Clay as adsorbent

The clay’s lamellar structure provides a larger specific surface area, leading to increased adsorption capacity. When compared to activated carbon at the same temperature and pH, clay demonstrates an even higher adsorption capacity [61]. Clays are naturally occurring aluminosilicate materials that contain small amounts of organic compounds and metallic ions. They exist as colloidal fractions in water, soil, rocks, and sediments [62]. Clays are great adsorbents because they have a lot of surface area, are chemically and mechanically stable, have a layered structure, and have strong cation exchange abilities. Moreover, compared to other adsorbents, clays are widely accessible and inexpensive. Natural clays have negative charges, which makes it possible for them to successfully remove cationic colors like methylene blue. Clay's surface charge can be changed to positively charged by surfactants, which improves the adsorption of anionic dyes. Metal ions and textile dyes have both been removed using various types of clays. For instance, sodium bentonite has been utilized for congo red, kaolin for zinc ions, and montmorillonite clay for vibrant green dye [22].

1.7.1.1 Clay structure

The coordination of metal ions[63] to the fixed charge sites depends critically on the structure of clay and the charge on its layers, and this interaction differs depending on the particular clay type utilized (see Fig. 4). Although many physical interactions help too much, in layer formation but hydrogen bonding is very important for interlayer connections [64]. As a result, different clay minerals produce unique configurations of silanol and aluminum surface hydroxyl sites. Clay has the ability to adsorb due to the negative charge present in the silicate structure, which is balanced by cationic dyes. The considerable surface area of clay, which equals about 800 m2/g, is also directly related to its high adsorption capacity [32].

Fig. 4
figure 4

Structure of clay (2:1) Adopted from Ref. [65]

1.7.1.2 Calcination of clay

Upon calcination, the structure, composition, and physiochemical properties of clay undergo significant alterations. The extent of these changes is contingent upon factors such as the clay type, particle size, and heating conditions. As the temperature increases, reaching the dehydration threshold, the clay loses adsorbed water, resulting in modifications to its porosity and a decline in adsorption potential. The destruction of interlayer spaces leads to a reduction in cation exchange capacity. Additionally, there is an increase in the hydrophilicity of the clay due to the partial release of hydration and adsorbed water. At the culmination of the dehydration stage, the weight of the clay diminishes, while the overall surface area available for adsorption expands. Calcination serves to stabilize the clay and maintain its useful permanent properties. Subsequent to dehydroxylation, further heating induces alterations in the clay's structure and its surface functional groups, following dihydroxylation. [66].

1.7.1.3 Natural and modified clay

Montmorillonite clays have the highest adsorption capacity when compared to other forms of clay. Clay may be altered, nevertheless, to increase its capacity for purging pollutants from wastewater. Clay Type, its modification, type of dye removed and adsorption efficiency are given in Table 3 [32].

Table 3 Clay types, adsorption efficiency and their alteration with various species

1.7.2 Alginates as adsorbent

A the polysaccharides known as alginates are derived from specific types of brown algae, such as Laminaria hyperborea and lessonia, which are found worldwide in coastal waters [76]. Alginates are also discovered to be produced by soil bacteria, such as Pseudomonas species and Azotobacter vinelandii. Alginates are homopolymeric linear copolymers made of 1,4-linked homopolymeric blocks of -d-mannuronic acid and -l-guluronic acid. Alginate received from diverse sources is first washed, then macerated, and finally is extracted with sodium carbonate to produce sodium or calcium alginate. Following filtering, calcium or sodium chlorides are added to the filtrate, converting alginate to calcium alginate or sodium alginate, respectively [77]. See Table 4 where properties of alginate are given.

Table 4 Alginate, its modification, contaminant removed and maximum adsorption efficiency

Due to its capacity to filter out impurities, alginate, a naturally occurring carbohydrate polymer, has been used to remove colours from waste water. Alginate is derived from many kinds of Brown algae. An essential property of alginate is the capacity to produce hydrogels. Aqueous alginate is easily transformed to hydrogel when metallic divalent cations are introduced. Calcium alginate beads containing immobilized activated carbons have been utilized for the removal of dyes, better efficiency [78]. Alginates possess distinctive characteristics in term of affordability, resources, hydrophilicity, biocompatibility, which enable them to suitable candidate for coating on the surface of nanoparticles [79,80,81].

1.7.3 Alginate hybrid and clay

To enhance adsorption capacity and increased surface area hybrid materials containing alginates and clay are synthesized [90]. An alginate clay hybrid refers to a composite material that combines alginate, a natural polymer derived from seaweed, with clay particles. Adsorption capacity or dye removal efficiency of alginate clay hybrid is shown in Table 5. This hybrid material combines the desirable properties of both components, offering improved functionality and performance in various applications. When it comes to dye removal, alginate clay hybrids have been studied for their adsorption capabilities. The clay component provides a high surface area and porous structure, which can effectively adsorb dyes through noncovalent interactions like intermolecular hydrogen bonding, electrostatic interactions, hydrophobic interactions and Van der Waals force [64]. Alginate, on the other hand, acts as a binder and stabilizer, enhancing the mechanical properties and stability of the hybrid material.

Table 5 Clay-alginate hybrids, their adsorption efficiency and dye removed

1.8 Factors effecting adsorption

1.8.1 Effect of pH

The adsorption process is dependent on the pH up to greater extent as it can change the dye chemistry and functional group of adsorbents. Low pH causes increase in the possibility of adsorption of anionic dye to the surface of negatively charged adsorbent, at the same time higher pH supports adsorption of cationic dyes to the negatively charged adsorbent’s surface and at this higher pH adsorption of anionic dyes becomes limited. Maximum adsorption can be achieved by optimizing pH on the basis of various factors such as clay type, its modification and dye nature [32].

The effect of pH can be explained for alginates such as adsorption of malachite green dye on the alginate coated with Fe3O4 nanoparticles increased accordingly as the pH of dye increased because pH has a great influence on the interactions found between dye molecule and adsorbent. Ionization of carboxyl and hydroxyl groups present on sodium alginate increased with increase in pH, this will in turn increase the interaction of alginate with cationic dye. Adsorption of cationic dye decreased with decrease in pH because at lower pH carboxylic group would be protonated. But at the same time due to enhanced repulsion of carboxylate groups, volume of polymer chains would increase and it causes penetration of cationic dyes into the alginate [79].

1.8.2 Effect of temperature

The rate of dye adsorption is impacted by temperature change, in both before and after equilibrium, which is one of two ways that temperature variation affects the adsorption process. For a certain adsorbate, equilibrium temperature impacts the adsorption equilibrium of the adsorbent [70]. Dye adsorption processes can be endothermic or exothermic; for endothermic processes, a rise in temperature increases adsorption capacity; for exothermic processes, an increase in temperature decreases adsorption capacity. For instance, temperature rise favours the adsorption of Congo red dye onto modified hectorite clay while decreasing the adsorption of methylene blue onto montmorillonite clay [22].

1.8.3 Initial dye concentration and contact time effect

The amount of dye that is adsorbed (mg/g) and the percentage of dye that is removed are strongly influenced by the initial dye concentration. All adsorption sites get saturated when the original dye concentration is raised, which lowers the effectiveness of dye removal. With increasing contact duration and starting dye concentration, the amount of adsorbed dye (mg/g) rises. The driving force produced by the initial dye concentration is used to overcome resistance in the mass transfer of dye between solution and adsorbent [22].

1.8.4 Effect of adsorbent dosage

As the dosage of the combination is increased, the efficiency of colour removal increases. The increase in surface area and the number of active adsorption sites are responsible for this. However, for some adsorbents, such clay and calcium hydroxide combination dosage of around 1 g L−1 produce dye removal effectiveness of about 99% of Congo red as achieved from 8–23 g L−1 of other inexpensive adsorbents. Because of the cheap cost and little sludge creation, utilising a small amount of adsorbent with the same dye removal effectiveness as a big amount of adsorbent is advantageous [67].

1.9 Electrocoagulation

It is an efficient method for the treatment of waste water obtained from various sources including textile industry. In this method direct current is supplied by a DC source connected externally to the electrode or an assembly of electrodes. On passage of direct current electrodes get dissolved in the effluents. At a definite pH metal ion will form coagulated species and hydroxide that form the aggregation with particles and dissolved contaminants are adsorbed on these. Commonly used electrode materials are stainless steel, aluminum, iron and graphite. These electrode materials are nontoxic, cheap and easily available (Khandegar and Saroha 2013).

In electrocoagulation process anode material is dissolved continuously on passage of current and release cations in wastewater. The particles of contaminants are charged due to their surface potential cations thus attract the dissolved cations. This process results in increased agglomeration and unstable suspension. Bubbles are formed as the result of hydrolysis and these bubbles help in floatation of coagulated agglomerates. Three parameters that determine the principle of electrocoagulation are particulate size, spatial density of vapor or droplet and particulate size. Three stages are involved in formation of charged agglomerates: (a) electrolytic disintegration of anode results in formation of coagulant, (b) suspension is destabilized and (c) formation of floating material or flocs by aggregation. It is a useful process in removal of organic ligands [92], dyes, heavy metals, suspended particles, heavy metals, oil and grease from effluents of industries. Hydroxides and oxyhydroxides formed during electrolysis results in an increased surface area which is essential for interaction of contaminants.

1.9.1 Mechanism of electrocoagulation

Electrocoagulation is completed in following steps;

(1) Interaction of anodic cations with charged particles of contaminants

Cations produced when electric current is passed through anode and these cations attracted towards and react with charged particles of contaminant.

(2) Neutral coagulation

Dissolution of anode resulted in production of large amount of counterions and these counterions interact with and neutralize the charged species. At the end van der waals interactions develop and stable coagulates will be formed.

(3) Floatation by gas bubbles

Hydrolysis resulted in production of gas bubbles and colloidal particles will be entrapped in these bubbles. Floatation produced by this phenomenon helps in gravity separation.

Reactions occurring at anode and cathode

The reactions occurring at aluminum or iron anode electrodes are shown in Eqs. 3, 4.

$$M\to {M}^{n+}+ {ne}^{-}$$
(3)
$$2{H}_{2}O+2{e}^{-}\to 2O{H}^{-}+{H}_{2}O$$
(4)

(4) Coagulation

Metal hydroxide or oxyhydroxides formed by the hydrolysis of cations (produced from sacrificial anode) act as coagulating agent. Interaction of negatively charged particles of contaminants with cations resulted in coagulation. In this step electrocoagulation differ from chemical coagulation in which the chemical precipitation is added externally while in electrocoagulation it is produced within the reaction solution. Mechanism of electrocoagulation is shown in Fig. 5.

Fig. 5
figure 5

Mechanism of electrocoagulation [93]

(5) Release of oxygen at anode

Hydrolysis of water in side reaction resulted in production of oxygen bubbles at anode this oxygen flocculates the coagulated contaminant species to the surface by buoyancy effect [93].

1.9.2 Assembly of an electrocoagulation unit

Following considerations must be kept in mind while building an electrochemical cell for the purpose of electrocoagulation in dye separation:

  1. a)

    There must be minimum resistance between electrodes to avoid potential drop.

  2. b)

    There should be negligible resistance to mass transfer in the region between electrodes.

  3. c)

    There should be limited accumulation of bubbles of oxygen and hydrogen gas at the surface of electrodes. Excessive evolution of gaseous bubbles at the electrodes results in increase in the internal resistance hence decrease in electrical conductivity [93].

1.9.3 Dyes removal by electrocoagulation

During decolorization of dye by electrocoagulation, adsorption and precipitation occur depending on pH range. It can be explained for Al electrodes as follows: Precipitation and Adsorption followed routes according to following Eqs. 58.

$$\mathrm{dye}+\mathrm{monomeric Al }\to \left[\mathrm{ dye monomeric Al}\right](\mathrm{s})\_\_\_\_\_\_\_\_\_\_\_\_\mathrm{pH }4.0-5.0$$
(5)
$$\mathrm{dye}+\mathrm{polymeric Al }\to \left[\mathrm{dye polymeric Al}\right]\left(\mathrm{s}\right)\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\mathrm{pH }5.0-6.0$$
(6)
$$\mathrm{dye}+\mathrm{Al}(\mathrm{OH}{)}_{3}\left(\mathrm{s}\right)\to \to [\mathrm{particle}]$$
(7)
$$\left[\mathrm{dye polymeric Al}\right]\left(\mathrm{s}\right)+\mathrm{Al}(\mathrm{OH}{)}_{3}\left(\mathrm{s}\right)\to \to \to [\mathrm{particle}]$$
(8)

The presence of Al(OH)4 can be noted at pH higher than 9. Freshly formed Al (OH) 3 are amorphous flocs having large surface area which promotes adsorption of solubilized organic compounds and colloidal particles trapping. The polymerization of these flocs occurs according to Eq. 9. These polymers can be easily separated from aqueous solution.

$$\mathrm{nAl}(\mathrm{OH}{)}_{3}\to {\mathrm{Al}}_{\mathrm{n}}(\mathrm{OH}{)}_{3\mathrm{n}}$$
(9)

1.10 Techniques for analysis

For measurement of dye concentration in the samples UV-spectroscopy are utilized, as each [49] chromophore or dye have their own absorption maxima, so that the reason UV spectra assist us in analysis of exact concentration. For the determination of various functional groups FTIR spectra are taken normally from 400 to 4000 cm−1 range. FTIR spectra of surface before and after absorption give us very important information about adsorption process [94]. Similarly SEM, TEM, and EDX are also used for determination of surface morphology [95].

2 Recommendations and outlook perspectives

Clay minerals have garnered considerable attention in the realm of water treatment due to their distinctive properties and pronounced adsorption capacity. Various clay types, encompassing montmorillonite, kaolin, bentonite, and others, have been exhaustively studied for their efficacy in eliminating dyes and other contaminants from water. These clay minerals, endowed with substantial surface areas, layered structures, and cation exchange capabilities, serve as exemplary adsorbents. Particularly in the context of wastewater from textile and dyeing industries, the efficient removal of dyes assumes environmental significance due to their potential toxicity and persistence. Clay minerals have demonstrated remarkable potential in extracting dyes from water, as they adeptly adsorb and eliminate these contaminants. This adsorption mechanism hinges on the interaction between the negatively charged clay surface and the positively charged dye molecules, culminating in their immobilization and subsequent removal from the water.

Distinct types of clay minerals have showcased commendable efficiency in the realm of dye removal from water. The unique attributes of clay, marked by their expansive surface areas, layered structures, and cation exchange abilities, substantiate their robust adsorption capacity and render them effective agents for dye extraction. The adsorption process orchestrating the interplay between clay and dyes presents a promising and sustainable avenue for water treatment. It beckons further research and development to optimize adsorption processes employing clay minerals. This could involve the exploration of modification techniques aimed at augmenting adsorption capacity and selectivity concerning distinct dye molecules. Equally pivotal is the exploration of regeneration and reusability in the context of clay adsorbents. This inquiry is essential for ensuring their cost-effectiveness and practical viability in large-scale water treatment systems. In summation, the application of clay minerals for dye removal in water treatment holds immense potential. It offers an eco-friendly and efficient solution to grapple with the challenges posed by dye-laden wastewater, thereby contributing to the enhancement of cleaner and safer water resources.

3 Conclusion

Water treatment assumes a critical role in ensuring the availability of clean and safe drinking water. In recent times, clay-based materials have gained prominence as promising adsorbents to meet the demands of water treatment. This review conducts a comprehensive analysis of diverse clay types, investigating their surface adsorption properties and emphasizing their practical utility within water treatment domains.

The exploration begins by examining prevalent clay types used in water treatment, including kaolin, montmorillonite, and bentonite. This scrutiny delves into their distinct mineral compositions, surface characteristics, and inherent structural attributes. Subsequent sections embark on an exploration of the intricate adsorption mechanisms manifesting on clay surfaces, revealing the nuanced interplay between contaminants and the active sites present on these surfaces. Furthermore, the review meticulously dissects the influence wielded by pivotal factors such as pH, temperature, contact time, and initial contaminant concentration.

The review highlights the adsorption efficiency and capacity of diverse clay types in effectively removing an array of contaminants, ranging from heavy metals to organic pollutants and dyes. By accentuating the cardinal role played by surface modification techniques, the investigation critically evaluates cation exchange, functionalization, and composite formation for their roles in bolstering adsorption efficacy.

Transitioning beyond the enumeration of virtues, the review forthrightly addresses challenges linked with clay-based adsorbents, encapsulating issues spanning regeneration, disposal, and cost-effectiveness. The narrative culminates by unveiling strategies poised to surmount these challenges, while concurrently outlining potential trajectories to drive advancements in the realm of clay-based water treatment.