There are many ways to produce hydrogen and the choice of process will largely depend on the available resources and the cost of the energy needed for the process. One of the most common ways to produce hydrogen is through water electrolysis, which involves using electricity to split hydrogen and oxygen from water. Water electrolysis is one of the most common and sustainable methods for producing hydrogen. As a historical note, this is the method proposed by Jules Verne in his novel The Mysterious Island.