Petrol, diesel, coal are the fossil fuels as they are obtained from the dead plants and animals.
These fossil fuels are formed when the aquatic and terrestrial animals and plants get buried under the ground for many years. Hence these are the fossil fuels as they are formed from fossil