Fossil fuels are natural carbon-based substances used as fuel. They are formed by the remains of plants and animals over millions of years.