1 Introduction

This day’s heavy metals can cause serious environmental damage in wastewater, which is nonbiodegradable and very toxic, and they affect human health by contaminating water resources [1, 2]. So, removing heavy metals from wastewater is required and several methods have been used, which include membrane filtration [3], chemical precipitation [4], neutralization [5], and adsorption [6]. By comparing these techniques together, the adsorption method has utilized silica aerogels with high porosity, transparency, a high surface area foams [7, 8]. Adsorption method has very effective potential activities to use in several important areas such as carbon dioxide capture [9], aerospace [10], oil-spill absorbencies for replacement in open-cell polymer foams [11], drug delivery [12], and remove heavy metal ions in wastewater [13].

Silica aerogels are also well known as solid fume, that due to low density, high porosity (~98%), large surface area (~1600 m2/g), low bulk density (~0.03 g/cm3) easy handling, high efficiency, and recyclability of the adsorbents are widely used [14,15,16]. The first silica aerogels have been introduced by Samuel Stephens Kistler in 1932 [16], that porous silica structure developed by filling gas instead of liquid in the form of the gel. Also, he has developed silica aerogels via the supercritical fluid drying technique to perform porous solids from the gel. Synthesis of aerogel generally includes two main steps, which are firstly sol–gel process for the synthesis of gel [17] that is a technique for creating solid materials from small molecules and involves an adaptation of monomers into a colloidal solution (sol) that performances to an integrated network (or gel), and secondly is using super critically or ambient pressure for drying gel [18].

The supercritical fluid drying technique is the well-established drying method that has been already used in the silica aerogel industry and generally at this method, fluid is almost at zero surface tension at under supercritical conditions [16, 19, 20]. Thus, this performs ideal conditions to remove water from wet gels while avoiding collapse and shrinkage. However, using high pressures (5–10 MPa) is one of the disadvantages of supercritical drying which requires services of high quality and energy. As an alternative, successful preparation silica aerogel by surface modification under ambient pressure has been reported [21]. Also, the spring back result has been discovered during ambient pressure drying that it approves acting as a drying control chemical additive which this method can uniform the most of the pore size distribution in silica aerogel [22, 23]. Moreover, solvent exchange and surface modification are other advantages in the ambient pressure drying because it is a favorable method in preparation period which can be done before drying [24]. Despite using water glass is fairly cheap for the preparation of silica aerogels based on tetra ethoxysilane (TEOS) to have the specific surface area, but this is not excellent. For this reason, alcogel granules have been utilized in n-hexane and TEOS as another alternative [25,26,27].

Bio-aerogel is a novel generation of hybrid aerogels, which has been developed via a cellulose part such as water-soluble gelation, chitosan and polymer and conjugation by non-water-soluble compounds like GO [28] and silicon [29,30,31]. In this investigation, we prepared six novel NSA and bio-aerogel NSA-G aerogels (S1–S6) by sol–gel and drying method and after full characterization of them by using a range of analytical methods, they evaluated and used for the sorption heavy metals Cu2+ and Ni2+ ions from water in the laboratory situation.

2 Experimental

2.1 Materials

Gelatin type B (average Mw = 190,000–220,000) was extracted from the black tilapia fish wastes in our laboratory [32, 33]. Sodium montmorillonite nanoparticles (MMT) with an average crystalline size 30 nm were purchased from southern clay USA. Tetraethyl ortho-silicate (TEOS), trimethylchlorosilane (TMCS), N,N-dimethylformamide (DMF), and other chemicals (Ethanol, HCl solution, NaOH, n-Hexane) were ACS reagent grade (Sigma-Aldrich). All aqueous solutions were prepared with distilled water.

2.1.1 Preparation of metal ions solution

A stock solution of copper (II) and nickel (II) ions were prepared by dissolving nitrates of them in deionized water. The solutions were further diluted to the required concentrations before use.

2.2 Synthesis of NSA and NSA-G adsorbents by drying at ambient pressure

Pristine NSA and NSA-G aerogels (S1–S6) were prepared through hydrolysis and poly-condensation using TEOS precursors via a sol–gel polymerization process. At first, to synthesize adsorbents NSA (S1–S3) and NSA-G (S4–S6) two solutions A and B were prepared. The solution A was prepared by a mixture of TEOS, ethanol, dimethyl formamide, and distilled water, with a mole ratio of 1: 8: 0.5: 2, and a few drops of hydrochloric acid was added to hydrolyze of TEOS and stirred at room temperature for 24 h. The solution of B containing a mixture of alkali (pH = 8) MMT and TEOS with various ratio was prepared and stirred for 2 h at 50 °C. NSAs were synthesized by adding solution B to solution A, but for NSA-G adsorbents, the solution of B with various amounts of the preprepared gelatin was added to solution A according to Table 1, and two new mixtures separately stirred for 1 h at 50 °C. The solutions were converted to gel-form and the obtained gels were washed by EtOH and n-hexane for several times to remove the residual solvents and non-reactant materials. Wet gels were placed in various ratio TMSC/n-Hexane solution for 24 h at 30 °C water baths to modify the surface with TMSC (hydrophobic-up). Then the gels were removed and washed with hexane and kept at 60 °C for 10 and 24 h at room temperature to dry with a slight contraction.

Table 1 Synthetic conditions and calculation of the parameters such as adsorption capacity and percentage removal (%R) of the resulting aerogels

2.3 Adsorption study

Batch adsorption experiments were conducted by adding the different amounts of the NSA and NSA-G aerogels (S1–S6) into 200 mL of copper nitrate and nickel nitrate solution with the different pH values and then shaking the mixture in a thermostatic shaker bath at a certain temperature (288–308) for 7 h. The pH value of the copper nitrate solution was adjusted by a diluted nitric acid or sodium hydroxide solution and was measured by a pH-meter. Then, the copper and nickel concentrations of solutions before and after adsorption were determined by atomic absorption spectroscopy (AAS). It should be noted that this procedure was repeated three times for each metal, and the average percentage values of extracted metal ion were calculated. The amount of metal ion adsorbed was calculated by Eqs. 1 and 2 at equilibrium (qe (mg/g), and the percentage of metal ion removal per unit mass of the biosorbent, R) [34].

$$q_e = \frac{{\left( {C_ \circ - C_e} \right)}}{w} \times V,$$
(1)
$${\mathrm{\% }}R = \frac{{\left( {C_ \circ - C_e} \right)}}{{C_ \circ }} \times 100.$$
(2)

2.4 Desorption and reusability

Desorption of the heavy metal ions was performed by the optimum aerogels (S2 and S5) at adsorption equilibrium, with Cu2+ and Ni2+ ions were placed in the 200 mL of various solutions of 0.05 M HCl as the eluting agents for 6 h, at ambient temperature, and the mixtures were shaken with the speed of 150 rpm. Then, the mixtures were centrifuged at 6000 rpm for 15 min and the concentration of the eluted metal ions was measured according to Eq. 3 where Cd is the metal ions concentration in the desorption solutions (mg/l), Vd is the volume of the desorption solution in a liter, respectively, and V is the volume of the solution in a liter [35].

$${\mathrm{\% }}D = \frac{{C_dV_d}}{{\left( {C_0 - C_e} \right)V}} \times 100.$$
(3)

2.5 Characterization methods

Infrared (IR) spectra were recorded by Fourier transform infrared spectroscopy spectrometer (FTIR, SHIMADZU, 8400S model) in the wavenumber range of 400–4000 cm−1. X-ray diffraction (XRD) pattern was obtained in the 2θ range of 2–30° with wavelength λ = 1.54 A to observe modifications on crystalline of optimum aerogels (S2 and S5) backbone based on the pattern and appearance new peak, by X-ray diffractometer (Bruker AXS-D8 Advance model). FESEM (TE-SCAN) analysis was performed to find of morphology and shape modified nano-silica inside the NSA (S2) and NSA-G (S5). Thermal analyses (TGA/DTG) of NSA (S2) in comparing to NSA-G (S5) was performed by using the Netzsch-TGA 209 F1 analyzer under a temperature range of 20–900 °C with the heating rate of 10 °C/min under the nitrogen flow rate of 10 mL/min. The specific surface area SBET (Brunauer–Emmett–Teller), pore volumes, and average pore size of both obtained materials (S2 and S5) were analyzed by nitrogen adsorption/desorption isotherms and BJH (Barrett–Joyner–Halenda) pore diameters methods using a model NOVA 3200e automated gas sorption system. Hydrophobicity of the optimum aerogels (S2 and S5) was analyzed by measuring the contact angle (θ) of the water droplet with the sample surface by using the CA-500 Optical microscope model. For measurement of the concentration of the metal ions, the atomic absorption spectrometer (AAS-Shimadzu model AA-680) was also applied.

The porosity of the optimum aerogels (S2 and S5) was calculated using the density of the NSA (S2) and NSA-G (S5) aerogels (ρGel) and density of the skeleton (ρTEOS) after enough drying samples according to Eq. 4. The bulk density of the aerogel samples (S2 and S5) was calculated by measuring its mass to volume ratio with help of bulk density meter. For all of the experiments, data were expressed as means values ± standard deviation (SD) of three parallel measurements [18].

$$p\,\left( {\mathrm{\% }} \right) = 100 \times \left( {1 - \rho _{Gel}/\rho _{TEOS}} \right)$$
(4)

In the above equations, ρGel is the bulk density of aerogel and ρTEOS is the skeleton density of the silica aerogels. Generally, the value of ρTEOS is 940 kg/m3 [36].

3 Results and discussion

3.1 Proposed mechanism for the synthesis of NSA and NSA-G aerogels

For the synthesis silica-based hydrophobic aerogels (S1–S6) two solutions of A and B were prepared. Solution A contained a mixture of TEOS, ethanol, DMF, distilled water, and a few drops of hydrochloric acid to hydrolyze TEOS for forming silica chains. In solution B, alkaline MMT (pH = 8) and TEOS were mixed to modify MMT surface with TEOS. Then, by mixing solutions A and B, NSA was made. For the synthesis of NSA-G (S4–S6), gelatin was added to solution B, and gelatin chains were connected to the active site of OH on the silicone. Followed by adding current solution B to solution A, the active groups of OH on the silica chains coupled via gelatin chains and MMT. Finally, to hydrophobic the surface, the remaining OH groups on the silica chains converted to O–Si(Me)3 by adding TMSC as shown in the following schematic Scheme 1.

Scheme 1
scheme 1

The schematic pattern for the preparation of NSA (S1–S3) and the NSA-G (S4–S6)

3.2 Characterization of NSA (S2) and NSA-G (S5) aerogels

3.2.1 FTIR spectrum

The FTIR spectrum of the starting materials and prepared aerogels (S2 and S5) are shown in Fig. 1. As can be seen from the Fig. 1A, the appearance peak in 1646 cm−1 related to the stretching vibration of the carboxamide group and a fairly wide peak at 3150–3436 cm−1 was also relative to the stretching vibration of the NH2 group in the gelatin’s building. The strong peaks were shown in all three spectra B, C, and D in the 476–489 cm−1 region could be attributed to Si–O–Si bending vibration. Moreover, the appearance peaks in the regions 789–799 and 1064–1081 cm−1 were attributed to the symmetric and asymmetric stretching vibration of Si–O–Si, respectively. Also, the spectrum showed a peak in the 949–967 cm−1 for the Si–O stretching vibration and two peaks at 1660–1660 and 3407–3423 cm−1 for the stretching vibration of O–H and a peak in the 2893–2990 cm−1 for the stretching vibration of C–H, respectively. A peak in the 848–883 cm−1 range was found in the NSA (S2) and NSA-G (S5) (Fig. 1C, D) spectra corresponding to the stretching vibration of Si–C. This peak was not seen in TEOS and it confirmed the presence of Si–CH3 groups in surface aerogel by TMSC.

Fig. 1
figure 1

The FTIR spectrum of gelatin (A), TEOS (B), NSA (S2) (C), and NSA-G (S5) (D)

3.2.2 EDS and FESEM techniques

The elemental analysis, size and morphology of NSA (S2) and NSA-G (S5) surfaces before and after Cu2+ and Ni2+ ions sorption were shown in Fig. 2. As shown in Fig. 2A there were no significant differences in the 2 μm and 200 nm by comparing two forms of NSA-G (S5) and NSA (S2). NSA-G (S5) showed a more compact structure, which was characterized by smaller particles, heterogeneous agglomerates, and density of spherical nanoparticles with variable sizes ranges from 46 to 77 nm while the size of nanoparticles in the NSA (S2) was in the range of 59–103 nm. The composition of the prepared materials was assessed using energy dispersive spectroscopy (EDS). According to Fig. 2A, the percentage of elemental composition estimated from the EDS analysis were C (26.5), O (27.2), and Si (45.3) as main components of the NSA (S2) aerogel and the main elements of the NSA-G (S5) were C (38.4), O (24.7), N (10.6), and Si (26.3), respectively. The presence of nitrogen element in the EDS of NSA-G (S5) aerogel specified the significant presence of gelatin molecules inside of the polymer matrix with no other contaminants. The FESEM images and EDX of the NSA (S2) and the NSA-G (S5) after Cu2+ and Ni2+ ions sorption were investigated and the results shown in Fig. 2B. By comparing FESEM images of prepared adsorbents before and after adsorption of the metal ions obviously changed the surface morphology of the prepared materials (S2 and S5) during the sorption process on both adsorbents. Furthermore, the EDS results of the samples were a clear indication for the successful Cu2+ and Ni2+ ions loading on the surface of both adsorbents [37, 38].

Fig. 2
figure 2

The FESEM images and EDX spectra of the NSA (S2) and the NSA-G (S5) before (in the 2-scale of 2 μm and 200 nm) (A) and after (in the scale of 1 μm) Cu2+and Ni2+ions sorption (B)

3.2.3 X-ray diffraction (XRD)

The XRD spectra of the optimum aerogels (S2 and S5) were taken in the range of 2θ = 0–30° and were shown in the Fig. 3A–D. It can be seen from the Fig. 3A, B, the MMT nanoparticles revealed a peak at 2θ = 21.2°, although gelatin showed any peak in this range. After adding MMT nanoparticles to the polymeric network, due to the dispersion of MMT nanoparticles, the peak diffusion of MMT nanoparticles in the nano-aerogels network appeared at a lower angle with less intensity. According to the NSA (S2) XRD spectrum shape, it showed a sharpness peak at 2θ = 19.1° (Fig. 3C), whereas the NSA-G (S5) XRD exhibited a polygonal region at 2θ = 19.9°. The extension of the peak confirmed the addition of gelatin to the aerogel network and prevented the agglomeration of the MMT nanoparticles (Fig. 3D). Also, the average size of MMT nanoparticles trapped in the nanocomposite network was calculated 52 and 79 nm by the Debye-Scherrer method for NSA-G (S5) and NSA (S2), respectively.

Fig. 3
figure 3

XRD spectrum of the MMT (A), gelatin (B), NSA (S2) (C), and NSA-G (S5) (D)

3.2.4 Study of the specific surface area and the distribution of cavities in aerogels (BET and BJH)

For providing more accurate evidence on the formation of the gelatin-based aerogels from aerogels, the BET and BJH techniques were applied and the obtained results such as the specific surface area, cavity volume, and the average diameter of the cavities were tabulated in Table 2. The results showed that the volume of the NSA (S2) cavities was larger than the NSA-G (S5) and the calculated specific surface area (SBET) for the NSA-G (S5) was greater than the NSA (S2), which indicated the presence of the aggregated gelatin and more cross-linking in the NSA-G (S5) network. Figure 4A also showed the type of NSA (S2) and NSA-G (S5) isotherm belong to the type IV and hysteresis ring belonging to type C. This similarity indicated the aerogels type in meso form with cone-shaped holes. Figure 4B showed the distribution of the pore size of the aerogels that the NSA (S2) had a relatively narrow curve and most of the pores were the meso form, while the NSA-G (S5) had a fairly wide pore size and fewer alignments between pores. On the other hand, as shown in Table 2, the porosity results indicated that the addition of the gelatin into the silica aerogels influenced their properties and it caused that the average porosity of the aerogels linearly increased from 91 to 95%.

Table 2 Bulk density, porosity, specific surface area pore volume, and average diameters cavities of nano-aerogels (S2 and S5)
Fig. 4
figure 4

Adsorption and desorption isotherms (A) and BJH charts (B) of nano-aerogels (S2 and S5)

3.2.5 Angle contact measurement

Figure 5 showed the contact angle of the synthesized aerogels (S2 and S5) with a drop of water and the contact angle for both adsorbents was greater than 90°, which indicated the hydrophobicity of the aerogels. Decreasing the angle of contact in the NSA-G (S5) showed that the process of adding gelatin caused a slight decrease in the hydrophobicity (see Fig. 5B). Figure 5C showed the (S5), due to the high porosity, had a lower density than water and were placed on the water.

Fig. 5
figure 5

Angle contact with drop water for NSA (S2) (A), NSA-G (S5) (B), and nanoaerogel (S5) float on the surface of the water (C)

3.2.6 TGA and DTG thermal analysis

TGA/DTG analysis was used to study the thermal stability of the prepared aerogels (S2 and S5) that thermal analysis was checked by increasing the temperature from 25 to 900 °C as shown in Fig. 6. According to the thermogram, when the temperature increased to 150 °C, the thermogram showed a slight percentage of the loose weight of the NSA (S2) and NSA-G (S5), because of the evaporation of water from the pore and inner layers of aerogels. However, in this range of temperature, it is clearly revealed that NSA-G (S5) suffers a greater weight loss as compared to the NSA(S2) and this probably indicates the further loss of moisture from the NSA-G (S5) network. By increasing the temperature, NSA (S2) showed two-weight-loss about 3% and 5% at 300 and 380 °C, respectively which could be changing the conformation of aerogel. However, the NSA-G (S5) during this temperature did not have a big change in its chromatogram, and this result can be due to the presence of gelatin in the structure of NSA-G (S5) made significant stability. With the further increase in temperature up to 450 °C, no significant difference was found in the thermal resistance of the two adsorbents and both aerogels had a similar trend of total weight loss. In continue, after 683 °C, the weight loss of NSA-G (S5) was more as compared to the NSA (S2) sample that this can be probably due to the presence of gelatin in the polymer matrix.

Fig. 6
figure 6

TGA and DTG spectra of the nano-aerogels (S2 and S5)

3.3 Absorption studies of copper and nickel metal ions on NSA (S2) and NSA-G (S5)

3.3.1 The effect of contact time

To determine the contact time effect on the adsorption capacity and the removal percent efficiency of Cu2+ and Ni2+, adsorbents were investigated at 298 K for 1–16 h. As shown in Fig. 7A, the adsorption capacity and removal percentage for both adsorbents improved with increasing reaction time to reach the equilibrium after 5 h for the NSA-G (S5) and 7 h for the NSA (S2) and after these times, absorption remained almost constant. This rapid absorption in the early stages of the process can be due to the abundance and availability of active groups on the surface of the adsorbents [39], where the gradual occupancy of these active sites during the lapse of time, the metal ions sorption becomes less efficient [39, 40].

Fig. 7
figure 7

Effect of contact time (A), pH solution (B), initial ions concentration (C), and mass of adsorbents (S2 and S5) (D) on the adsorption capacity and removal percentage

Moreover, the results revealed that the removal efficiency of NSA-G (S5) for both metal ions was higher than the NSA (S2). These findings confirmed the modification of NSA (S2) aerogel with gelatin to formed NSA-G (S5) caused to have more porosity and consequently the further adsorption capacity at less time. Table 3 indicates the comparison of the maximum adsorption capacity of the different adsorbents for Cu2+ and Ni2+ ions. It is revealed that both prepared aerogels (S2 and S5) had greater potential adsorption than the other reported silica-based adsorbent for the sorption of these metal ions.

Table 3 Comparison of sorption capacity of the prepared NSA and NSA-G (S2 and S5) with some recently reported bioadsorbent

3.3.2 The pH effects

pH effect was examined for 0.1 g of NSA and NSA-G (S2 and S5) separately in 200 mL solution of Cu2+ and Ni2+ (200 ppm) at pH 3.0–8.0 for 7 h. As shown in Fig. 7B, changes in the pH solution caused significant variation in adsorption capacity. The maximum adsorption of Cu2+ and Ni2+ ions for NSA and NSA-G (S2 and S5) were at pH 5.5 and 6.5, respectively. It was also noteworthy that in this study, pH > 8 was not used, because, under these conditions, the reaction between Cu2+ and Ni2+ ions and OH ions happened and produced various species precipitate such as MOH+ and M(OH)2. Also, only small amounts of ions were trapped at pH < 3, which was probably due to the protonation of OH groups within adsorbent networks in highly acidic conditions. These results are in good agreement with the results that have been reported by other researchers [41].

3.3.3 The effect of the concentration of the initial metal ion

The initial concentration of Cu2+ and Ni2+ ions in the range of 50–300 mg/L at 298 K was investigated. As shown in Fig. 7C, upon increasing the initial ion concentrations from 50 to 300 mg per 1 liter, the optimum adsorption capacity of the ions increased. At higher concentrations for both adsorbents, the sorption of copper ions remained almost constant due to the occupation or saturation of active sites on the adsorbent surface. However, by increasing the initial concentration of metal ions, the adsorption rate of these ions decreased, but the adsorption capability increased. By increasing the initial concentration of metal ions, the number of rival ions improved to react with active groups of the adsorbent surface and adsorbent active sites were saturated. In other words, the adsorption capacity was enhanced with increasing concentration of metal ions in the solution. Enhancing the concentration of metal ions led to an increase in the number of interactions between metal ions and adsorbents, which, in turn, accelerated the adsorption process [42].

3.3.4 Adsorbents effect

The amount of adsorbents in the range of 0.01–0.2 g was investigated and their results were shown in Fig. 7D. As can be seen in the figure, increasing the amount of aerogels (S2 and S5) led to an increase in the removal percent. On the other hand, increasing in the amount of aerogels (S2 and S5) caused to decrease in adsorption capacity, but in general, the adsorption rate was enhanced by increasing adsorbent content due to the enhancement in the number of active sites. Improvement in adsorption capacity happened by increasing adsorbent because the accumulation of these particles led to a decrease in total adsorbent content [43].

3.3.5 Temperature and thermodynamics effect study

In these series of experiments, changing the removal of ions was studied at 288–308 K by using NSA and NSA-G aerogels (S2 and S5) and the results were shown in Fig. 8. The data revealed that the removal rate was enhanced with increasing temperature for both aerogels and indicated thermosensitive of the process of adsorption of Cu2+ and Ni2+ ions on the aerogels. To this purpose, thermodynamic parameters such as changing in the Gibbs free energy (ΔG°, KJ/mol), enthalpy (ΔH°, KJ/mol) and entropy (ΔS°, J/mol K) of the system were calculated based on the Eqs. 57 and are listed in Table 4. In these equations, R is gas constant (8.314 J/mol K), T temperature in Kelvin (K), CRe equilibrium concentration metal ion in the adsorbent (mg/L), and CSe equilibrium concentration of metal ions in solution (mg/L).

$${\Delta} G^ \circ = - RT\;\ln \;K_c,$$
(5)
$$K_c = \frac{{C_{Re}}}{{C_{Se}}},$$
(6)
$${\mathrm{ln}}\,K_c = \frac{{{\Delta} H^ \circ }}{{RT}} + \frac{{{\Delta} S^ \circ }}{R}.$$
(7)
Fig. 8
figure 8

The plot of Ln Kd against 1/T for NSA and NSA-G (S2 and S5)

Table 4 Thermodynamic parameters for adsorption of Cu2+ and Ni2+ ions on aerogels (S2 and S5) at three temperatures

As can be seen in Table 4, the highest removal of ions was obtained at 308 K. These results showed that at the highest temperature, the adsorption of Cu2+ and Ni2+ ions were the highest in both adsorbents. In addition, the positive change values in enthalpy and entropy, and in total, the negative values of Gibbs free energy confirm that the process of adsorbing was spontaneously in nature [44]. Comparing the negative values of NSA-G (S5) Gibbs free energy, it could be concluded that the process of adsorbing metal ions on NSA-G (S5) was more favorable than NSA (S2), so that the maximum adsorption capacity balance (qe (mg/g)) was observed for Cu2+ and Ni2+ ions in the presence of NSA-G (S5) was 381.68, 370.36 and for NSA (S2) was 346.24, 338.73, respectively.

3.3.6 Investigating the recyclability of adsorbents and their activity in the absorption and desorption of metal ions

The recovery of adsorbents was studied by adsorption and desorption of metal ions from the levels of the aerogels (S2 and S5). Initially, the aerogels were washed with deionized water, 200 mL of 0.05 M HCl solution for 6 h and then deionized water, successively. The results of the four adsorption–desorption steps in the presence of metal ions were shown in Fig. 9. As could be seen in the figure, with relocation from the first cycle to the third cycle, the adsorption of Cu2+ and Ni2+ ions were declined from 82 to 71% and 77 to 69% for NSA (S2) and 93–85%, and 84–78% for NSA-G (S5) aerogels, respectively. In addition, the average adsorption percentage Cu2+ and Ni2+ ions after the fourth cycle for NSA (S2) and NSA-G (S5) were 69%, 67%, and 82%, 76%, respectively and these results were exactly satisfactory. In fact, this slight decrease in adsorption showed that active sites on aerogels had not been completely recycled at the end of each period. In overall, results showed that after four periods of adsorption and desorption of ions, both aerogels had considerable potential for the adsorption of metal ions.

Fig. 9
figure 9

Recyclability of NSA and NSA-G (S2 and S5) for Cu2+ and Ni2+ metal ions

4 Conclusion

Our purpose in this investigation was the synthesis of NSA and NSA-G aerogels (S2 and S5) as novel hydrophobic adsorbents that they could able to adsorb soluble ions without absorbing water. These aerogels surface were modified by TMS-O which appeared in the range 848–883 cm−1 in the IR spectrum. Investigation of surface morphology of aerogels showed that NSA-G (S5) illustrated a better structural significance than NSA (S2), which is included a more compact structure, composed by smaller particles, heterogeneous, and dense agglomerates of spherical nanoparticles with various sizes ranging from 46 to 77 nm, whereas the size of the nanoparticles in the NSA (S2) was in the range of 59–103 nm. Also, TGA of aerogels exhibited a high thermal resistance and decomposition for the NSA-G (S5) than NSA (S2) due to the presence of gelatin. In addition, the XRD spectra of the synthesized aerogels (S2 and S5) showed a sharp main peaks at 2θ = 19.1° and 19.9° for the NSA (S2) and NSA-G (S5), respectively. Also, the XRD results confirmed the addition of gelatin to the aerogel network prevented the agglomeration of the MMT nanoparticles. According to the results of the BET technique, the NSA (S2) had a larger volume of cavities than the NSA-G (S5), but the NSA-G (S5) had a greater specific area than the NSA (S2). The contact angle for both adsorbents was greater than 90°, that this indicating the hydrophobic property of the aerogels and the NSA (S2) showed a greater contact angle than NSA-G (S5) because of a slight decrease in the hydrophobicity. On the basis of the porosity of 91–95%, the removal rate for NSA and NSA-G (S2 and S5) increased by increasing temperature for both aerogels, which shows that the process of adsorption of Cu2+ and Ni2+ ions on the aerogels was thermosensitive. Negative values in Gibbs free energy indicated spontaneously in adsorption nature and the adsorption of metal ions process on NSA-G (S5) was more favorable than NSA (S2). The results of recyclability after four absorption–desorption of aerogels had considerable potential for adsorption of metal ions. Also, drying and recycling of these adsorbents were fast and less costly due to the lack of water absorption.