How hydrogen-oxygen fuel cells work
1. Hydrogen goes into the anode compartment
2. Oxygen goes into the cathode compartment
3. At the anode, hydrogen loses electrons to produce H+ ions (oxidation)
4. At the cathode, oxygen gains electrons from the H+ ions to make water (reduction)
5. Electrons flow through an external circuit from the anode to the cathode, producing an electric current
6. The overall reaction is the combustion of hydrogen, producing water