Question: The formation of coal deposits occurred over millions of years. Which feature was most responsible for these deposits?

  Options: 
 A. barren deserts
 B. active volcanoes
 C. mountains covered in trees
 D. swamps with dense vegetation
Answer: D