An electrolyte conducts electricity through mobile ions when molten or dissolved and undergoes chemical changes at the electrodes. Ionic solids have ions but generally cannot conduct while the ions remain fixed in the lattice.
Strong electrolytes are extensively dissociated or ionised under the stated conditions; weak electrolytes form fewer ions from a comparable amount of solute. Strong does not mean concentrated: a dilute solution can contain a strong electrolyte.
Sugar solution is a non-electrolyte because sugar dissolves mainly as neutral molecules. Aqueous sodium chloride contains mobile Na⁺ and Cl⁻ ions. Graphite conducts by electrons, but that electronic conduction does not make it an electrolyte.
In an electrolytic cell an external direct-current source drives a non-spontaneous reaction. The cathode is negative and attracts cations; the anode is positive and attracts anions. Oxidation always occurs at the anode and reduction at the cathode.
At the cathode a cation can gain electrons, for example Cu²⁺ + 2e⁻ → Cu. At the anode an anion may lose electrons or an active metal electrode may dissolve. Electrons move in the external circuit, whereas ions carry charge through the electrolyte.
Electrode products depend on the ions present, their concentrations, discharge tendencies and electrode material. Ion migration and actual discharge are different: not every ion reaching an electrode must be the species discharged.
A molten salt contains its constituent ions without water. An aqueous electrolyte also contains water, which can participate in electrode reactions. Therefore a molten salt and its aqueous solution can produce different substances.
Molten sodium chloride yields sodium at the cathode and chlorine at the anode. Aqueous concentrated sodium chloride with suitable inert electrodes yields hydrogen at the cathode and chlorine at the anode, leaving an alkaline solution as sodium hydroxide accumulates.
In aqueous copper(II) sulfate, copper is deposited at the cathode. With inert anodes oxygen is formed from water; with a copper anode copper dissolves as Cu²⁺. State the electrode material before predicting the change in solution concentration.
Electroplating deposits a thin metal layer on a conducting object. The object is the cathode, the electrolyte must supply ions of the plating metal, and an appropriate soluble anode can replenish those ions. Clean surfaces improve adhesion.
In copper purification an impure copper anode dissolves and pure copper is deposited on the cathode from acidified copper(II) sulfate. Some less reactive impurities form anode sludge, while some more reactive impurities remain dissolved.
Electrolysis can also extract highly reactive metals from molten compounds. Aluminium extraction requires a molten electrolyte; aqueous aluminium salts do not give ordinary aluminium deposition because water competes at the cathode.