From water: Electrolysis
The alternative approach to produce hydrogen, which is carbon neutral (i.e. leads to no carbon emissions) is through the electrolysis of water. This is the decomposition of water, using an electric current, into oxygen and hydrogen molecules. The electrolytic cell consists of two electrodes – usually inert metals such as platinum – immerged in water and connected to a continuous source of electricity.