Hydrogen has a low density of 0.0898 kg/m3 (energy density of 3 kWhLHV/m3) at standard temperature and pressure (STP) of 0 °C and 1 atm. It is significantly less dense than that gasoline. Therefore, in order to store 1 kilogramme of H2, you would need a capacity that is approximately 11.1 m3 (11,100 litres). Under the same conditions, 1 kilogramme of gasoline may be held in a capacity of 0.0013 m3 (1.3 L).
To ensure its usefulness and efficiency as an energy source, it must be compressed into a liquid condition and stored in the same manner at lower temperatures. High pressures are one way to assist in the process of achieving appropriate energy densities, and compression is the common approach that is used in the gaseous H2 supply chain.
I have had a discussion with an engineer at a company that makes hydrogen compressors. They have developed a lubricant-free scroll compressor because the reactions between lubricants and hydrogen is a big challenge.