Fossil fuels were formed through the decomposition of buried dead organisms. Oil and natural gas comes from organisms that lived in rivers or oceans and were buried under layers of silt; over millions of years this organic material was “cooked” under pressure to create the deposits we tap into today. Coal formed in a similar way, except that the original material was trees, ferns and plants.