piled up. Layers of sand, rock, and mud buried the dead organisms. Over time, heat and the pressure of sediments changed the material into other substances. Fossil fuels are the energyrich substances formed from the remains of organisms. The three major fossil fuels are coal, oil, and natural gas.