Hydrogen vs batteries
One stores electricity efficiently. The other stores it densely.
A battery stores electricity directly and returns most of it. Hydrogen converts electricity into a gas, compresses it, then converts it back — losing a large share along the way.
Hydrogen's advantage is weight and refuelling time. For long-haul transport, heavy industry, shipping and seasonal storage, those advantages can outweigh the efficiency penalty.
For a passenger car charged at home from your own solar, the battery wins on efficiency, cost and infrastructure by a wide margin.
Educational overview only. Before acting on any of this, review the safety fundamentals and local regulations.