In refineries, hydrogen is used to remove excess sulphur from petrol and diesel. This hydrogen presently is produced from fossil fuels such as natural gas or naphtha and results in carbon emissions.