Main

Upon rapid development of human society, surface water is continuously contaminated by complicated components from industrial emissions, including waste oils, volatile organic compounds (VOCs), heavy metal ions and microorganisms, just to name a few1,2,3. Meanwhile, shortage of clean water is becoming more and more serious, and one in three people currently does not have access to safe drinking water4,5. Traditional thermal distillation and membrane-based reverse osmosis technologies have been developed and in service for decades to separate water from the pollutants to meet the ever-growing standard of human life. However, the high energy consumption, complicated treatment processes, heavy economic burden and inevitable secondary pollution by operation-driven fuel combustions or waste membranes have restricted their practical applications in particular in developing countries and regions6,7,8,9.

Solar-powered water production is considered as a green, sustainable and decentralized strategy to access clean water from seawater or undrinkable water, and could satisfy the urgent water demands around the world, because solar energy is a renewable energy that is inexhaustible, widespread and environmentally friendly10,11,12,13,14,15. Benefitting from the recent development of solar-powered interfacial materials such as graphene, polypyrrole and metal nanoparticles16,17,18,19,20,21, considerable sunlight utilization efficiency and rapid vapour generation kinetics have been demonstrated. However, when complicated contaminants are present in surface water, the state-of-the-art single-function solar-powered system is far away from qualified devices that harvest water without hazardous components. For example, VOCs (for example, dichloromethane, toluene and phenol) widely distributed in surface water due to pollution are rather easy to transport through common solar-powered interfacial materials into produced water22, which are harmful and toxic even at a very low concentration2. Non-volatile organic compounds (NOCs) are often in the form of water-insoluble oil that can block the pores of solar-powered interfacial materials and limit water transmission23,24,25. A large number of bacteria present in surface water can adhere to the surface of solar-powered interfacial materials and render them ineffective26,27. All these will result in a dramatic loss of productivity in solar-powered clean water in real applications.

In this Article, a graphene/alginate hydrogel (GAH) is developed in combination with a hyper-dense internal structure design and bio-inspired surface engineering. It demonstrates high selectivity in solar-powered pure water extraction and multi-effective antifouling capacity against surface water containing complex contaminations (Fig. 1a). The high selective water transport against VOCs stems from absence of bulk water, and the different abilities of water and contaminant molecules to transport in bound state by forming enough hydrogen bonds with the polymer network in GAH (Fig. 1a,b). Rejection of ions is achieved by building up a high difference in osmotic pressure between GAH and contaminated surface water (Fig. 1c). With a fish-scale-inspired graphene-contained micro–nano-structured surface, the solar–thermal conversion capacity is enhanced by structure trapping of incident light (Fig. 1d), the underwater anti-oil-fouling function is achieved by super oleophobicity based on hydrophilic micro–nano structure-induced Cassie contact (Fig. 1e), and surface antibiosis is obtained from the exposed reduced graphene oxide (rGO) nanosheets (Fig. 1f). As a result, this GAH harvests clean water from contaminated surface water by rejecting >99.5% of VOCs, 99.3% of ions (Na+, Mg2+, K+ and Ca2+) and 100% of NOCs and bacteria. In addition, GAH has a submerged oil contact angle of >140° to carry oil-adhesion rejection, surface antimicrobial effect of nearly 100% and an ion rejection of 94.9% for seawater, leading to a desirable antifouling capacity in complex conditions that goes far beyond that in previous reports. Our study is of notable value for promoting the solar-powered clean water harvesting technology and addressing contaminated hydrological environments.

Fig. 1: Schematic explanation of merits of GAH in clean water production.
figure 1

a, High selectivity of GAH in solar-powered pure water extraction and multi-effective antifouling capacity against surface water of complex contaminants. b, Different molecular interactions of water and contaminant molecules with GAH for selective water absorption and rejection of VOCs. c, Ion rejection based on a large difference in osmotic pressure between GAH and contaminated surface water. d, Efficient solar–thermal conversion based on fish-scale-inspired micro–nano-structured surface. e, Anti-oil-fouling effect due to underwater oleophobicity that is induced by a fish-scale-inspired micro–nano-structured surface of GAH. f, Antibiosis function due to exposed rGO sheets on the surface of GAH.

Source Data

Results

Preparation and characterization of GAH

To prepare GAH, a dispersion of sodium alginate and graphene oxide was mixed and gelated at 40 °C and 50% relative humidity, followed by chemical reduction and multiple aluminium-ion-induced cross-linking cycles to form a dense rGO/alginate hydrogel (details are provided in Methods). Then, direct-laser writing was used to print the fish-scale-inspired micro–nano multi-scale pattern on the surfaces (Fig. 2a and Supplementary Figs. 1 and 2). As shown in Fig. 2b, the obtained GAH appears optically dark because of strong light absorption of rGO. In comparison, the alginate hydrogel without rGO is transparent (Supplementary Fig. 3). This GAH exhibits favourable mechanical flexibility that can be bent easily in any arbitrary curvature without fracture (Fig. 2b). The cross-section scanning electron microscopy (SEM) image exhibits a uniformly cross-linked densely packed laminar structure in GAH (Fig. 2c,d and Supplementary Fig. 4) without obvious seams, which will prevent transport of impurities inside by capillary bulk water (Fig. 2d), making it drastically different from most porous solar-powered water harvesters27,28,29,30,31,32,33,34,35,36,37,38. SEM image of the GAH surface shows uniform and striated microstructures with exposed rGO nanosheets (Fig. 2e). Micron stripes on the surface of GAH have an average width of 45 ± 10 μm and an interval of 100 ± 10 μm, similar to that of fish scale, with extra nanosheets packed along the stripes (Fig. 2e and Supplementary Fig. 1). This hierarchical micro–nano structure renders the GAH a superior hydrophilicity. As indicated in Fig. 2f, water droplets spread rapidly along the stripes on the surface and end up with a contact angle of 0° that is significantly lower than 10° of rGO/alginate hydrogel membrane without the fish-scale-like pattern39. Meanwhile, an absorbance of 95% within the full spectrum of sunlight is achieved by GAH because of multiple reflection of the incident light within GAH for a maximum conversion into heat, which largely surpasses the pattern-free rGO/alginate hydrogel (Fig. 2g). As a result, the patterned surface and dense structure of GAH provides the material basis for high performance in selectivity and fouling rejection in clean water production.

Fig. 2: The fabrication and characterization of GAH.
figure 2

a, Schematic of the gelation, reduction, cross-linking and laser printing for the fabrication of GAH. b, Photographs of GAH membrane to show the black appearance (left) and flexibility (right). c, Cross-sectional SEM image of GAH. d, An enlarged view of c. e, SEM image of GAH surface and the real fish-scale surface. f, The images of water contact angle of GAH and the water droplet transport on the fish-scale-inspired surface of GAH (the white arrows describe the direction of droplet transmission). g, UV–Vis–near-infrared spectra of GAH (red curve), and rGO/alginate hydrogel without fish-scale-like pattern (black curve).

Water state within GAH

Micro-porous membrane is commonly used in solar-powered water production (Fig. 3a), for fast bulk water transport driven by capillary force35. However, bulk water always carries contaminants such as VOCs to evaporation surface and causes impurity of vapour36. Bulk water will be avoided, and all water molecules are mainly hydrogen bonded to polymer chains (Fig. 3b) in GAH illustrated as follows. The rGO/alginate in GAH is rich in oxygenate functional groups, providing abundant sites for multiple cross-linking cycles. Each cycle consists of ionic cross-linking by AlCl3, stressing and drying. These GAHs are termed GAH-x, where x denotes the number of cross-linking cycles. The saturated water content (Cw) in GAH is first tested, which is defined as follows22.

$${C}_{{\mathrm{w}}}=({Q}_{{\mathrm{s}}}-{Q}_{{\mathrm{d}}})/{Q}_{{\mathrm{d}}}$$

where Qs is the mass of saturated GAH and Qd is the mass of the GAH after drying at 50 °C for 10 h. As shown in Fig. 3c, Cw decreases from 61.3% (GAH-1) to 13.1% (GAH-4), which indicates densification of the inner structure. As x increases, the tensile strength of GAH-x is also enhanced (Supplementary Fig. 5). The phase change behaviour of water is then monitored to study internal water state. GAH in a saturated state was completely solidified at −70 °C and gradually warmed up to 30 °C still in a solid state. As determined by differential scanning calorimetry (DSC) in Fig. 3d, GAH-1 has an endothermic peak near 0 °C, indicating the presence of bulk water, a state that can carry pollutants easily in the transport process22. This peak in GAH-2 was shrunk and shifted to the left, that is, less water in a bulk state and more water distributed in the inner rGO/alginate networks via hydrogen bonding interactions. The DSC curves of GAH-3 and GAH-4 present no obvious peaks, suggesting the absence of water in a bulk state. Meanwhile, the average number of hydrogen bonds formed between each water molecule and the polymer chains in water-saturated GAH-x (termed as NHB-x) can be calculated to indicate the water state in GAH-x (detailed information in Methods). As indicated (Supplementary Table 1), each water molecule in water-saturated GAH-1 could have about 0.84 hydrogen bonds with the polymer chains, suggesting some water molecules inside GAH-1 could be at the bulk water state40. The calculated NHB-3 of GAH-3 is about 2.67 and NHB-4 of GAH-4 is about 3.92, which means water molecules inside GAH-3 and GAH-4 are bonded with polymer chains, which is very different from that bulk state in GAH-1. In addition, Fourier transform infrared spectrometer (FTIR) tests are conducted to confirm the difference of water states in GAH-x. The hydroxyl bending mode absorption near 1,600 cm−1 is a powerful reporter for the hydrogen bonding state of water molecule38. As shown in Fig. 3e,f, the red curve represents the infrared absorption of pure water corresponding with hydroxyl bending mode absorption peak at 1,637 cm−1, indicating bulk state of water molecules. The hydroxyl bending mode absorption of water-saturated GAH-1 is wide and has two small peaks (1,630 cm−1 and 1,598 cm−1, Fig. 3e). With the decrease of water content in GAH-1, the relative intensity of these two peaks (1,630 cm−1 and 1,598 cm−1) undergoes a significant change. And when water content becomes to be about 15%, the relative intensity of these two peaks (1,630 cm−1 and 1,598 cm−1) is stable, indicating that there would remain water molecules of bound state with polymer chains in GAH-1 after some water evaporation. In other words, there would be at least two types of water molecule (bulk water state and bound state) in GAH-1 at the water-saturated state. However, for GAH-3, the relative intensity of these two peaks (1,630 cm−1 and 1,598 cm−1) is always stable from the initial water-saturated state to final low water content state (Fig. 3f), reflecting water absorbed in GAH-3 is mainly at the bound state with polymer chains41.

Fig. 3: Bound water state in GAH-3.
figure 3

a, Scheme of water-saturated micro-porous materials and induced bulk water inside. b, Scheme of water-saturated GAH and induced bound water with polymer chains. c, Saturated water content of GAH-x. d, Heat flow of water-saturated GAH-x from −70 °C to 30 °C, analysed by DSC. e, FTIR spectra of pure water (red curve) and GAH-1 (black curves). f, FTIR spectra of pure water (red curve) and GAH-3 (black curves). The brightness gradient of black curves represents GAH-1 and GAH-3 of different water contents from saturated state (dark) to air-dried state (light). g, Scheme of bound water diffusion in GAH.

Based on these results, because there are not obvious penetrating micro/nano channels within GAH-3, the water transport across GAH-3 could be different from the micro/nano channel capillary force-induced bulk water transport process. Water molecules should be changed into the bound state with polymer chains through hydrogen bonds first, and then diffuse to the other side through the formed hydrogen bonds only (Fig. 3g), which avoids bulk water transport-induced pollutants passing through36. Meanwhile, it is difficult for most contaminant molecules to form sufficient hydrogen bonds with the polymer chains and enter GAH-3 due to the weaker dipole–dipole interaction between most contaminants and GAH42. Even after soaking GAH-3 in analytical reagents 1,4-dioxane, benzene and methylbenzene for 20 min, FTIR results of soaked GAH-3 demonstrate there are not significant representative peaks of these contaminant solvents, confirming the selective absorption capacity of water molecules (Supplementary Fig. 6). Hence, selective bound water absorption and diffusion will be achieved. To retain adequate water transport capability (Supplementary Fig. 7), GAH-3 rather than GAH-4 is employed for the following solar-powered freshwater extraction tests.

Selective solar-powered water extraction

GAH extracts pure water from sewage at both high efficiency and selectivity in practice. Because of the fish-scale-inspired surface structure, sunlight will be highly absorbed and turned into heat on the GAH for faster solar-powered water harvesting. The surface temperature of GAH can reach as high as 80 °C under one sun (1 kW m−2) irradiation43,44,45. This capability of efficient solar–thermal conversion helps GAH extract pure water from sewage selectively46. The vapour is rapidly generated at a measured rate of 1.45 kg m−2 h−1 (1 kW m−2), which is above eight times of bare water without GAH under the same conditions (0.18 kg m−2 h−1, Fig. 4a). Extraction rate would be further increased by a three-dimensional device design to 2.51 kg m−2 h−1, and the efficiency is evaluated as ~82.6% (Supplementary Fig. 8). To verify the purity of extracted water, a home-made system is designed to harvest the water in a sealed container (Supplementary Fig. 9). As shown in Fig. 4b, three typical VOCs (toluene, dichloroethane and dioxane) in the raw sewage are at a level of 100 ppm, while in the extracted water, they drop below 0.07 ppm, pointing to a VOC removal efficiency of 99.93%. This effect should be caused by the selective bound water absorption with polymer chains in GAH and the weaker dipole–dipole interactions in VOCs–GAH than the H-bond interaction in water–GAH, which facilitates transport of water more than VOCs22. Meanwhile, GAH has rejection rates of >99.5% for phenol, since the phenolic hydroxyl groups form weaker H-bonds with inner rGO/alginate networks than water47,48. The high removal efficiency of VOCs by GAH in the solar water extraction is superior to those in many previous reports (Supplementary Fig. 10). In addition, K+, Ca2+, Na+ and Mg2+ are examined in the extracted water. The solution with each ion concentration of 1.5 wt.% was employed as the raw sewage to be purified. As shown in Fig. 4c, the concentrations of ions (K+, Ca2+, Na+ and Mg2+) are below 100 ppm in extracted water, indicating ion rejection >99.3%. To verify GAH’s power to produce bacteria-free water, raw water from domestic river and water extracted by GAH were taken for the bacteria regrowth test. The samples were incubated in a medium at 37 °C for 48 h. While no bacterial colony was found in the medium of extracted water shown, a large number of colonies were identified for the case of river water, supporting a nearly 100% efficiency for removing bacteria by GAH (Fig. 4d). Finally, methyl red, methylene blue and several other kinds of pigment are taken as representatives of NOC tests. As shown in the ultraviolet–visible (UV–Vis) spectra in Fig. 4e, the characteristic peaks of these NOCs are clearly seen in the polluted water at a concentration level of 15 ppm. In comparison, there are no signals of pigments in the solar-powered extracted water by GAH. Meanwhile, the colour of water turns from red (methyl red solution) or blue (methylene blue) into transparent (GAH extracted water) (Fig. 4e). Aqueous solutions of various pigments and their mixtures are further measured. The extracted water by GAH is clear and has no obvious signals of the mixed pigments (Supplementary Fig. 11). All these results verify the remarkable capability of GAH in solar-powered selective water harvesting by rejecting multiple complex pollutants.

Fig. 4: Performance of GAH in clean water selective harvesting.
figure 4

a, Vapour generation rate plots of GAH and bare water under one standard sunlight. b, Concentrations of toluene, dichloroethane (EDC), dioxane and phenol in raw sewage (yellow column) and GAH extracted water (red column). Grey column indicates drinking water standard adopted from World Health Organization or Environmental Protection Agency. c, K+, Ca2+, Na+ and Mg2+ concentration in raw sewage (yellow column) and water extracted by GAH (red column). d, Images of culture dish growth with raw lake water (right) and GAH extracted water (left). e, UV–Vis absorption spectra of methyl red, methylene blue solution and GAH extracted water. Images at the right side show the colour of solution of red (methyl red, MR) and blue (methylene blue, MB) to colourless and transparent (GAH extracted water).

Antifouling of GAH against oil, bacteria and salts

The antifouling function of GAH against oil, bacteria and salt adhesion is important for practical applications. As shown in Fig. 5a, GAH achieves a contact angle of 143° with soybean oil underwater, and the oil droplets remain largely spherical and do not adhere on the GAH. This is because the hydrophilic micro–nano structure traps water in the rough surface, forming a stable Cassie contact with oil drips underwater (Fig. 5b and Supplementary Fig. 12). Accordingly, GAH exhibits contact angles greater than 140° with common oily organic solvents (toluene, hexane, benzene, petroleum ether and cyclohexane) (Fig. 5c), showing excellent anti-oil-fouling property. This performance is similar to the interaction between fish scales and oil (Supplementary Fig. 13), indicating that micro–nano structure induces favourable oil stain prevention. Meanwhile, two-dimensional rGO nanosheets are widely reported to have bacterial toxicity because of chemical sterilization of oxygen-containing functional groups and physical sterilization of nano-defects and edges49,50. The fish-scale-inspired micro–nano surface of GAH is rich in rGO nanosheets, ensuring the inheritance of the antibiosis behaviour of rGO (Fig. 5d). To verify this, the number of bacteria in raw sewage before and after contacting with GAH is compared. Domestic river water is taken as the raw sewage containing multiple kinds of bacteria. In the experimental group, the raw sewage was applied on the surface of GAH before regrowth, and the system error was ruled out with a control group identically treated without GAH. As shown in Fig. 5e, as the number of bacteria in raw sewage group is defined as 100%, 78% of bacteria survived on the samples in the control group, but less than 1% survived on samples in the GAH-treated experimental group. SEM image shows the broken pieces of dead bacteria (Supplementary Fig. 14).

Fig. 5: Super antifouling performance of GAH in polluted raw sewage.
figure 5

a, Images of oil contact angle in water formed by fish scale (left) and GAH (right). Inset is the image of soybean oil on GAH. b, Mechanism of GAH’s anti-oil-fouling capacity by forming a stable solid/water/oil system on the patterned surface. c, Contact angle of methylbenzene, n-hexane, benzene, petroleum ether and hexamethylene on GAH surface under water. d, Mechanism of antibiosis of GAH based on rGO sheets on its patterned surface. Chemical sterilization of oxygen-containing functional groups and physical sterilization of nano-defects and edges contributes to antibiosis capacity. e, Regrowth test result of diluted raw lake water, control group and GAH-treated group. Images on the right refer to the culture dishes of control group and GAH-treated group.

Salt fouling on the solar-powered water harvester is a serious problem. As vapour is generated, ions in sewage will become concentrated, crystallize and accumulate to cause salt fouling51,52. Because of rich anions (for example, -COO) and cations (Na+ and Al3+) produced by ionization in rGO/SA network, densified by multiple cross-linking cycles, GAH is extremely dense in ions, forming a large osmotic pressure to pump water into GAH while repelling ions in sewage (Fig. 6a)17. To verify this, GAH was put into NaCl solutions of different concentrations to be saturated. By comparing NaCl concentration in NaCl solution and the absorbed NaCl concentration by GAH at equilibrium state, the ion rejection rate (REJ) of GAH can be calculated (detailed information in Methods and Supplementary Fig. 15). Figure 6b shows REJ of GAH in NaCl solution of different concentrations. When the NaCl concentration is 3.6 wt.%, REJ reaches as high as ~94.9%. Even when NaCl concentration is close to the saturation (25 wt.%), GAH maintains an REJ of about 24%. The osmotic pressure of saturated NaCl solution can be calculated by the formula π = iCRT (where i is the dimensionless van’t Hoff index, which is 2 for NaCl, R is the ideal gas constant and T is the Kelvin temperature), which is about 280 atm. GAH still demonstrates a high REJ ability in the saturated NaCl solution mentioned above, which means GAH should have much higher osmotic pressure than that of saturated NaCl solution (~280 atm), preventing the entry of ions from the tested solution even under saturated state.

Fig. 6: Ion rejection mechanism and practical performance of GAH.
figure 6

a, Ion rejection mechanism of GAH based on high osmotic pressure of hyper-dense and cross-linked rGO/alginate network. b, Calculated ion rejection rate of GAH-3 in NaCl solution of different concentrations. Upper lateral axis represents calculated osmotic pressure of NaCl solution. c, Lab-simulated solar condition in one 24-h day. d, Periodic light conditions of cycle tests with alternative 12-h light exposure and 12-h dark time. Photographs show the clean surface of GAH after 12-h light exposure and 12-h dark time. e, Maintenance rate of ion rejection and water extraction rate during the 5-day test. Inset images are the appearance of GAH (2 cm × 2 cm) for each day.

To clarify the practical salt fouling preventing performance, GAH was tested for 5 days. Artificial sunlight of 750 W m−2 was used for GAH to extract clean water from seawater (Fig. 6c), and 12-h light irradiation time was used to simulate the daytime in 1 day (24 h). During the first day, Win reaches only 0.25 wt.% after 12-h light exposure caused by high REJ, which is much lower than the solubility of NaCl (26.4 wt.%, room temperature), excluding risk of salt fouling, while after 12-h dark time, Win decreases to 0.18 wt.% because of outward ion migration from GAH to surrounding solution driven by osmotic difference (Fig. 6d). This outward ion migration refreshed Win before light exposure, preventing cross-day ion accumulation in GAH. During the 5-day test, the daily Win after 12-h dark time remained stable at around 0.18 wt.%, which means that ions accumulated in GAH during the daytime completely migrate into surrounding solution at night, ensuring stable Win after 12-h light exposure around 0.25 wt.% (Supplementary Fig. 16). Based on this daily refreshment, GAH gains stable performance during long-term employment. The ion rejection capacity remained at about 99.8% of the initial value, and the water extraction rate and surface structure at the fifth day almost stayed unchanged (Fig. 6e). In addition, after 20 h of vapourizing under one standard sunlight, no salt-fouling appeared on GAH in 17 wt.% highly concentrated NaCl solution. All these results indicate excellent salt fouling prevention of GAH.

Conclusion

We successfully developed a solar-powered water extraction GAH system with high selective water transport and multifunctional super antifouling effect to directly harvest clean water from sewage containing complex contaminants. Assisted by fish-scale-inspired surface engineering and a hyper-dense internal rGO/alginate network, GAH carries several merits: (1) structure-enhanced high-efficiency solar–thermal conversion, absorbing >95% of sunlight to heat the surface to 80 °C under one standard sunlight; (2) high selective water transport based on inner bound water state and the different abilities to form hydrogen bond between water molecule–GAH and contaminant molecule–GAH, to reject more than 99.5% of VOCs; (3) oil-adhesion prevention by building stable Cassie contact underwater with hydrophilic micro–nano-structured surface, to form contact angle >140° with organic solvent; (4) antibiosis based on exposed rGO nanosheets to deactivate ~100% bacteria on surface; and (5) anti-salt-fouling by building up higher osmotic pressure of GAH than sewage, with charged group produced by ionization in hyper-dense rGO/SA network, rejecting 94.9% ions in seawater from entering, keeping ultralow internal salt concentration during 5-day test without fouling. The concept in developing GAH is of great importance for the practical application of low-carbon water purification strategies and contributing to solve the global drinking water crisis.

Methods

Preparation of GO suspension

GO suspension was prepared according to a modified Hummers method as reported previously22,53,54. First, 3 g natural graphite (325 mesh) and 70 mñ concentrated sulfuric acid (98 wt.%) were uniformly mixed and stirred at 0 °C for 30 min. Then, 9 g potassium permanganate was added to this mixture carefully in small amounts and several times. Next, the reaction mixture was transferred to a 40 °C water bath and stirred for 30 min. Then, 150 ml of de-ionized water was carefully added. The dispersion was stirred violently for 15 min, and the system temperature was kept at 90 °C by water bath. Next, an additional 500 ml de-ionized water was added, followed by the addition of 15 ml hydrogen peroxide (30 wt.%) until the solution became orange–brown. The resulting solution was filtered and washed with 200 ml hydrochloric acid (3.7 wt.%) for 12 h. The derived filter cake was dispersed in de-ionized water, and the obtained dispersion was stirred for 12 h. Any unexfoliated graphite was removed by centrifuging the solution at 3,000 rpm for 30 min with the precipitation discarded. Then, the dispersion was put into the dialysate bag (8,000–14,000 Da) and dialysed for a week to remove residual ions. The collected GO was concentrated by centrifugation and then diluted using de-ionized water.

Preparation of GAH

The GAH was prepared by sequential ionic cross-linking, reduction and direct-laser writing. Sodium alginate (Macklin, 5,000 mPa s−1, 1% in water at 25 °C) was used to prepare 15 ml of 2 wt.% alginate solution in water. Then, 5 ml of 10 mg g−1 GO dispersion was added, and the mixture was stirred for 1 h. The solution was centrifuged at 1,475g for 20 min to remove the bubbles and sediment. The dispersion was next transferred into a glass container and dried at a temperature of 60 °C for 12 h to form a membrane. The obtained membrane was cross-linked for multiple cycles. During each cycle, the membrane was cross-linked by soaking into a 0.5 M AlCl3 aqueous solution for 12 h, then washed with de-ionized water and dried in oven. Cross-linked membrane was reduced at 70 °C for 10 h. After multiple cycles, the fish-scale-inspired micro–nano structure was written by HGTECH LSU3EA laser system (355 nm, 30 kHz). The laser power is 3 W, and the scanning speed is 1,000 mm s−1.

Characterization

The structures and element mapping were characterized by SEM (FlexSEM 1000). FTIR spectra were collected by UATR Two FTIR spectrometer. Thermogravimetric analysis was performed by using a thermogravimetric analyser (TGA/DSC, STA449F3) under air, and the heating rate was 10 K min−1. The temperature distribution was recorded using an infrared camera (Fluke TiX640) in real time. The ion concentrations of water were assessed using an inductively coupled plasma emission spectrometer (Vista-MPX). The optical transmittance and reflectance spectra of the aerogel were measured on a UV–Vis spectrophotometer (Cary 5000) with an Agilent integrating sphere. All weights were measured by analytical balance (Mettler Toledo ME104E).

Calculation of average number of hydrogen bonds formed between each water molecule and the polymer chains

Average number of hydrogen bonds formed between each water molecule and the polymer chains in water-saturated GAH-x is calculated by the following method, which would reflect the water molecule state inside55.

$${N}_{{{\mathrm{HB}}}{-}{x}}=\frac{n({m}_{{{\mathrm{GAH}}}-x}-{m}_{{{\mathrm{Al}}}}-{m}_{{\mathrm{g}}})/{M}_{{{\mathrm{unit}}}}}{{Q}_{{\mathrm{w}}}\times {m}_{{{\mathrm{GAH}}}-x}/{M}_{{\mathrm{w}}}}$$

where NHB-x is the average number of hydrogen bonds formed between each water molecule and the polymer chains; mGAH-x, mAl and mg is the mass of water-saturated GAH-x sample, Al3+ and graphene, respectively; Qw is the water content of water-saturated GAH-x; Munit is the molar mass of alginate repeating unit (~198 g mol−1); n is the active sites for hydrogen bonding provided by alginate repeating unit (four O-sites and two H-sites); and Mw is the molar mass of water molecule (18 g mol−1).

Vapour extraction rate measurements and removal test

In this experiment, a lab-made device was designed (Supplementary Fig. 5) that is made of Teflon with a 2 cm × 2 cm evaporation window in the centre, to cover the membrane in order to control the light area. The membrane was in contact with water below to ensure water supply. While working under one standard sunlight generated by sunlight generator (91150V, Newport) for 0.5 h, the weight loss of the whole equipment was recorded every 5 min to calculate the vapour extraction rate. For VOC rejection test, aqueous solution with VOCs of 100 ppm was taken as the raw sewage. The VOC concentration of collected water was measured by Agilent Technologies gas chromatograph–mass spectrometer. For ion removal test, 1.5 wt.% of Na+, Mg2+, K+ and Ca2+ solutions was prepared with chloride as anion. The ion concentration of collected water was measured with inductively coupled plasma mass spectrometer (iCAP Q, Thermo, Waltham). For NOC removal test, 10 mg ml−1 methylene blue and methylene red sodium solutions were prepared as raw sewage. The pigment concentration of collected water was measured by a UV–Vis spectrophotometer (DR/5000).

Bacteria removal test

Domestic river water was used as raw sewage for the bacteria source. Water condensed from the vapour generated by GAH was collected as purified sample. The river water and the GAH-purified water to be tested were diluted 10,000 times, and then 1 ml was evenly applied to the surface of the total nutrient medium, and the medium was placed at 37 °C for 48 h, after which the antibacterial effect was compared according to the number of colonies.

Underwater contact angle measurements

A transparent water tank was filled with water, the materials (GAH and fish scale) to be measured were applied on a flat substrate downward over the water surface and the air between the material and the water surface was evacuated. Then, 12 μl of oily liquid in water was dropped through a J-shaped needle to the surface of GAH. The contact angle was measured by OCA 15 Plus Contact Angle Meter (Eastern-Dataphy).

Antibiosis test

Domestic river water was taken as the bacteria source. One millilitre of river water was applied to GAH with a diameter of 50 mm. Then, GAH was treated with ultrasonic for 30 min to accelerate and enhance the physical interaction. Then, 10 ml buffered solution at one time was used to wash the bacteria of GAH three times, and the elute was diluted to 100 ml followed by 100-fold dilution. One millilitre of diluent was used for regrowth test to measure the number of bacteria. Also, the 10,000-fold diluent of raw river water and river water treated by ultrasound without GAH were regrowth-tested as a control test to eliminate systematic errors49.

Calculation of ion rejection rate

The ion rejection rate of GAH can be calculated by the formula REJ = (1 − Win/Ws) × 100%. Ws represents NaCl concentration in NaCl solution, and Win represents NaCl concentration in the absorbed NaCl solution by GAH at equilibrium state. The NaCl concentration in the absorbed NaCl solution by GAH can be calculated by the following equations.

$${W}_{{{\mathrm{in}}}}={m}_{{{\mathrm{ion}}}}/{m}_{{{\mathrm{sol}}}}$$

The mass of absorbed NaCl solution (msol) by GAH and the mass of the NaCl in the absorbed water (mion) by GAH is obtained with the following equations.

$${m}_{{{\mathrm{sol}}}}={m}_{{\mathrm{s}}}-{m}_{{\mathrm{o}}}$$
$${m}_{{{\mathrm{ion}}}}={m}_{{\mathrm{d}}}-{m}_{{\mathrm{o}}}$$

where mo, ms and md represent the mass of original GAH, saturated GAH in NaCl solution and GAH after being dried, respectively.

Reporting summary

Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.