Fossil fuel is former live organic matter which has bee buried for hundreds of millions of years. They have lots of energy in them and we use it by burning them and converting some of those energy into useful work. What energy is that? Why does fossil fuel have so much more energy compared to living or recently dead organic matter? What percentage of the energy of fossil fuel was already in them just before they died and what percentage did they gain after millions of years underground?