The environment is getting polluted due to the release of greenhouse gases from various sources, including industries and automobile engines . Heavy vehicles that consume fossil fuels are one of the significant sources of the emission of toxic gases like CO, CO2, SO2, and NO. In this context, greener fuels that can stave off climate change include biofuels, biogas, and hydrogen produced from water splitting .