Pool chemisty. Sodium hypochlorite degrades the elemental chlorine to the atmosphere. The rest stay behind.