In the electrolysis of alumina, graphite rod is used as the anode.
During the electrolytic reduction of alumina, aluminum is produced at the cathode and oxygen gas is evolved at the anode.
Oxygen reacts with the graphite rods (anode) and forms carbon dioxide.
Thus, the graphite rods are continuously eroded. Hence, the graphite rods or anodes need to be replaced from time to time during the electrolysis of alumina.