Energy density is a term used for the amount of energy stored in a given system or region of space per unit volume. Often only the useful or extractable energy is quantified, which is to say that chemically inaccessible energy such as rest mass energy is ignored. Quantified energy is energy that has some sort of, as the name suggests, quantified magnitude with related units.
For fuels, the energy per unit volume is sometimes a useful parameter. Comparing, for example, the effectiveness of hydrogen fuel to gasoline, hydrogen has a higher specific energy(energy per unit mass) than gasoline does, but, even in liquid form, a much lower volumetric energy density.
Energy per unit volume has the same physical units as pressure, and in many circumstances is an exact synonym: for example, the energy density of the magnetic field may be expressed as (and behaves as) a physical pressure, and the energy required to compress a compressed gas a little more may be determined by multiplying the difference between the gas pressure and the pressure outside by the change in volume. In short, pressure is a measure of the volumetric enthalpy of a system, that is, the enthalpy per unit volume. A pressure gradient has a potential to perform work on the surroundings by converting enthalpy until equilibrium is reached.