Original: The Cl - ions are oxidized to chlorine gas at the anode.
Simplified: 2 Cl - (from salt) Cl2 at anode