Sodium, potassium, calcium, magnesium and aluminium are highly reactive metals and are placed at the top of the reactivity series. These metals are extracted by electrolytic reduction of their molten chlorides or oxides because these metals are not reduced by other reducing agents like coke, carbon monoxide etc.
Let us take an example of extraction of sodium metal. Sodium metal is extracted by electrolytic reduction of molten sodium chloride. On passing electricity through molten sodium chloride, decomposition reaction occurs and formation of sodium metal and chlorine gas takes place.
Molten sodium chloride consists of sodium and chloride ions. The reactions that occurs during electrolysis are:
1. Cathode produces electrons to reduce sodium ions to sodium atoms (or sodium metal) by acting as a reducing agent. Sodium ions are cations; therefore, they get attracted to negatively charged cathode and get deposited there.
2. Chloride ions, being anions, get attracted to positively charged anode. These chloride ions are oxidised to chlorine gas. Chlorine gas is produced at anode.