Extracting metals would be a bonus, removing them from wastewater and concentrating them in a mass that can be buried for later processing is boon enough for now.
The presence of heavy metals in wastewater has been increasing with the growth of industry and human activities, e.g., plating and electroplating industry, batteries, pesticides, mining industry, rayon industry, metal rinse processes, tanning industry, fluidized bed bioreactors, textile industry, metal smelting, petrochemicals, paper manufacturing, and electrolysis applications.
The heavy metal contaminated wastewater finds its way into the environment, threatening human health and the ecosystem. The heavy metals are non-biodegradable1 and could be carcinogenic; thus, the presence of these metals in water by improper amounts could result in critical health issues to living organisms.
Removal of heavy metal ions from wastewater: a comprehensive and critical review (2021)
https://www.nature.com/articles/s41545-021-00127-0
Heavy Metal Ions Removal From Wastewater Using Cryogels: A Review (2022)
https://www.frontiersin.org/articles/10.3389/frsus.2022.7655...