Fossil fuel are formed from the remains of dead plants and animals of the accumulated in sedimentary layers below the surface of the Earth is many millions of years under ambient conditions of temperature and pressure. Making organic matter in the sediments change to fossil fuel.