How does a Hydrogen Fuel Cell Work?

Hydrogen fuel cells works similar to a battery. There are two electrodes, and the electrons comes out of the cell to be used as energy. Fuel cells used to help space vehicles.