Electrolysis uses electricity ... as described by the U.S. Energy Information Administration. The battery can store power for shorter-term use. Creating hydrogen provides power for longer storage.
While these early experiments were crucial in developing battery power, electrolysis-extracted hydrogen was expensive and time-consuming to produce. As a result, it remained a curiosity or ...
The solution contains chlorine, which is created through electrolysis ... a minute or two you could easily source the power from batteries charged with solar cells. Check out a full build walk ...
but the push is to increase production through electrolysis via solar and wind. Still, the efficiency of hydrogen may not be on par with batteries due to systemic loss during production ...