Fossil fuels are extracted from natural resources that were formed from biomass in the geological past such as coal, oil and gas. By extension, the term fossil is also used for secondary fuels produced from a fossil fuel.