Wastewater treatment facilities face two major challenges: treating contaminated water effectively and controlling harmful gases