Electrochlorination is the process of producing hypochlorite by running an electric current through salt water. This is used to disinfect water and make it safe for human use, such as for drinking water or swimming pools.