Purpose: They are primarily used as a disinfectant and sanitizer, especially in swimming pools, spas, and hot tubs to control algae and bacteria. They can also be used for other applications like sanitizing in food processing, treating septic tanks, and as a bleaching agent.