There are several industrial processes for producing hydrogen gas. By steam reforming natural gas and other light hydrocarbons, partial oxidising heavier hydrocarbons, and gasifying coal as fuels, approximately 95% of the hydrogen produced as of 2020 is derived from fossil fuels. Other techniques for creating hydrogen include water electrolysis, methane pyrolysis with no CO2 emissions, and biomass gasification. The latter procedures, including methane pyrolysis and water electrolysis, can be carried out instantly using any type of electricity, including solar power. Any industrialised society must produce hydrogen because it is essential to many vital chemical processes. This makes hydrogen production a crucial component. Approximately 87 million tonnes of hydrogen were produced globally in 2020 for a variety of purposes, including the production of ammonia and the refining of oil.