Electricity splits an ionic compound
Electrolysis uses an electric current to decompose an ionic compound. It must be molten or dissolved in water so its ions can move. The conducting liquid is the electrolyte. A solid ionic compound has ions in fixed positions and does not conduct.