Electrolysis of water is the decomposition of water into oxygen and hydrogen gas. This technique can be used to produce breathable oxygen or hydrogen gas as a fuel source, referred to as hydrogen fuel. However, that method is more expensive than the industrial way to produce hydrogen fuel from natural gas.