In an electrolysis cell, electricity passes through molten salt or a solution containing dissolved ionic substances (electrolytes). The positive ions move towards the negative electrode (cathode) and the negative ions move towards the positive electrode (anode)