Water is converted to oxygen gas and hydrogen ions at the anode. Water is converted to hydrogen gas and hydroxide ions at the cathode.