In central compartment, iron is used as cathode and the layer of Hg acts as anode by induction.
In the outer compartments, graphite rods are used as anode and the mercury layer acts as cathode by induction.
Cathode Na++e−→HgNa-Hg (sodium amalgam)
Anode 2Cl−→Cl2(g)+2e−