Hundreds of millions of years ago, when fossil fuels were formed, large amounts of a carbon dioxide were trapped underground b nitrogen were trapped in rocks during extensive volcanic activity c phosphate gas were added to the atmosphere through erosion and evaporation. d sodium were used to form ancient fossils, seashells, and limestone