Wastewater and industrial applications