Hydrogen is a fuel that can be obtained from water and electricity to store the electrical energy. To covert back the hydrogen back into useful energy, the simplest method would be to burn hydrogen to release heat energy and then convert that heat energy into useful electrical energy.
However, burning hydrogen and the process after the combustion have low efficiencies….