It depends on what you're talking about. Chlorine is an element, the element in it's raw form is toxic to humans, however sodium chloride is a molecule, and when the chlorine atoms bond with the sodium atoms, it chemically changes the properties of both. Chlorine in swimming pools isn't just the chlorine element, but rather a molecule known as Chloramine, which is NH2C, which, while still fatal in large enough doses, is mostly harmless in general. I can explain this all in further detail if you need me to.