Define electrolysis as the decomposition of an ionic compound, when molten or in aqueous solution, by the passage of an electric current