The saltwater generators rely on electrolysis. As a result, you have a system that naturally produces chlorine or bromine from salt. Then it is circulated into the water to sanitize and disinfect it.