Fuel cell
Water is a molecule that consists of one oxygen atom and two hydrogen atoms.  It takes energy to separate water into oxygen and hydrogen, and energy is released when they are put back together as water.  A fuel cell puts hydrogen and oxygen back together in a way releases the energy in the form of electricity.