A single fuel cell produces only a small amount of electricity. To run something as big as a car, engineers stack hundreds of fuel cells together in a series.
A fuel cell is similar to a battery, because both convert chemical energy into electricity. A battery, however, has a fixed supply of chemicals inside it. With fuel cells, the chemicals (hydrogen and oxygen) can be added continuously, so there's no need for recharging.