Grove discovered that by putting the ends of two platinum electrodes into a container of sulfuric acid and the other ends into sealed containers of oxygen and hydrogen, electricity could be produced.