Chlorine does the heavy lifting in pool sanitation. Here is how it kills bacteria, why testing matters and what to watch for when you use it.