How does Fossil Fuels Work?

According to the biogenic theory fossil fuels began as plants, algae and microscopic animals that lived may millions of years ago. Now the period most productive of fossil fuels is aptly called the carboniferous period.