Fossil fuels are hydrocarbon-containing materials that were formed from the remains of ancient plants and animals. They are found in the Earth’s crust and are a source of energy for many human activities. Fossil fuels include coal, oil, and natural gas, and are used to produce electricity, fuel cars, and heat buildings. Burning fossil fuels releases carbon dioxide into the atmosphere, which contributes to climate change.