And ultimately the chlorine (hypochlorous acid) ends up as chloride ion which is part of salt (sodium chloride). Other end products include oxygen gas (breakdown from sunlight) and nitrogen gas (oxidation of ammonia) and carbon dioxide gas and water (oxidation of organics).

Richard