Chlorine has long been used as an effective way of removing microorganisms, including bacteria, from drinking water but it has been linked to health problems.