In electrolyte is of aqueous solution of NaCl to prepare caustic soda which reaction occur at anode

Reduction of H+ ions

Reduction of Na+ ions

Formation of water molecules

Oxidation of Cl- ions