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

Formation of water molecules

Oxidation of Cl- ions

Reduction of Na+ ions

Reduction of H+ ions