Electrolysis is the decomposition of a liquid using electricity. When ionic compounds are molten or dissolved in water the ions are free to move. When sulfuric acid is electrolysed, hydrogen is produced at the cathode (negative electrode) and oxygen at the anode (positive electrode). Aluminium is extracted from the mineral bauxite using the process of electrolysis.