For electrolysis to work, the ions must be free to move when an ionic substance is dissolved in water or molten (melted). We call the liquid in which the electricity travels and the ions move, the electrolyte. For example, if electricity is passed through copper chloride(electrolyte), the copper is broken down to form copper metal and chlorine gas.