A coal is a combustible black (or brownish-black) sedimentary rock. It's formed when dead plant matter (including ferns, bark, leaves, trees, roots, etc.) submerged in swamp environments is under the forces of heat and pressure for millions of years. Therefore, the correct answer is swamp plants.