Unfortunately, chlorine can react with other compounds in water to form undesirable byproducts (such as trihalomethanes).