There are three major forms of fossil fuels: coal, oil and natural gas. All three were formed many hundreds of millions of years ago before the time of the dinosaurs – hence the name fossil fuels. The age they were formed is called the Carboniferous Period. There are hydrocarbon, the basic element in coal and other fossil fuels.