The chlorinator adds a small amount of salt to the water. Then it converts the chloride in the salt to chlorine and sanitizes the water. The whole process works with an electrolytic cell.