Electrochlorination is the process of producing hypochlorite by passing electric current through salt water. This disinfects the water and makes it safe for human use, such as for drinking water or swimming pools.