How a hydrogen-oxygen fuel cell works
1. Hydrogen goes into the anode compartment and oxygen goes into the cathode compartment
2. At the -ve electrode (the anode), hydrogen loses electrons to produce H+ ions. This is oxidation.
3. H+ ions in the electrolyte move to the cathode (+ve electrode)
4. At the +ve electrode (the cathode), oxygen gains electrons from the cathode and reacts with H+ ions (from the electrolyte) to make water. This is reduction.
5. The electrons flow through an external circuit from the anode to the cathode - this is the electric current.
6. The overall reaction is hydrogen plus oxygen, which gives water.