I don’t quite understand fuel cells, but the net result is energy and water. On source states,
OK. So how much more efficient is this than simply using the H in an internal combustion engine where the output is the same. If more energy is wasted in an internal combustion engine, where does the energy go? More waste heat?
This is a very complicated question and the answer is very nuanced. For example :
It takes very little energy to refine oil to gasoline and then transport it to cars. It takes a lot of energy to convert oil into Hydrogen and then transport the resulting hydrogen to cars. So when reporting efficiency from your quote, they are only comparing the efficiency of the hydrogen going into the fuel cell versus the energy out which doesn’t show the whole picture. A better measure is the well to wheel efficiency.
Hydrogen in an internal combustion engine could give you much higher efficiency than gasoline. This is simply because Hydrogen burns hotter. However, higher temperatures mean that the Nitrogen in air will also “burn” making NOx emissions. You can overcome this by using pure oxygen mixed with another inert like CO2 but purifying oxygen takes energy and so you introduce a new variable.
Fuel cells are old news. They didn’t deliver the promise they made. I know many former fuel cell researchers who work on Oil and Gas now. Sure there are some niche applications but in general fuel cell based energy is about the same as woo.