Hydrogen gas, owing to its high energy density and carbon-free nature, is gaining much attention as the energy source for a green and sustainable future. Despite being the most abundant element in the universe, hydrogen is mostly found in a bound state as chemical compounds such as ammonia, metal hydrides, and other hydrogenated compounds.