how water treatment works
when you dissolve chlorine in water it undergoes a disproportionation reaction producing hydrochloric acid hypochlorous acid
hypochlorous acid ionises to make chlorate (l) ions (hypochlorite ions)
HCIO + H2O → CIO- + H3O+ (reversible reaction)
hypochlorite ions can kill bacteria so water is safe to drink or swim in