Think of the two electrodes with a voltage difference between them. That means that there's an electric field in the water between them. So any H
+ ions get pulled one way, OH
- ions get pulled the other. Look at the electrode where the H
+ ions gather. It has a negative voltage- too many electrons. Electrons can leave the electrode and join up with a pair of H
+ ions to make the H
2 molecule. The reaction over where the OH-'s gather is a little more complicated, but by donating electrons to the positive electrode they can form water molecules and O
2 molecules.
This process doesn't use up the ions, because more H
2O water molecules keep falling apart to make up more H
+ + OH
- ions. When there's no voltage on, that's also happening but it's balance by ions recombining to make H
2O.
The process gets a bit more complicated if there are other ions around, but this simple example may get you started.
Mike W.
(published on 04/10/2012)