electrolysis

the decomposition of a chemical compound in solution or as a pure liquid by an electric current.