Hydrogen can be produced through electrolysis, by using electricity to split water molecules into hydrogen and oxygen, and if the electricity is generated sustainably, the resultant fuel will also be sustainable. This process is currently more expensive than creating hydrogen from fossil fuels, and the efficiency of energy conversion is inherently low. Hydrogen can be produced when there is a surplus of intermittent renewable electricity, then stored and used to generate heat or to re-generate electricity. Further conversion to ammonia allows the energy to be more easily stored at room temperature in liquid form.