Fossil fuels like coal and oil release greenhouse gases into the atmosphere when they’re burned. These gases trap heat and cause the Earth to warm.