Fossil fuels (coal, petroleum, natural gas) are formed from ancient buried organisms. Sunlight is a renewable energy source from nuclear fusion in the Sun, not a fossil fuel. Coal, petroleum, and natural gas are all classified as fossil fuels because they form from decomposed organic matter over geological time.