It is used as an algicide and fungicide in water treatment processes. It can control the growth of algae and fungi that can cause taste, odor, and aesthetic issues in water. Additionally, it is used in the removal of hydrogen sulfide and cyanide from industrial wastewater.