Answer the question

Coal was made from the remains of which ancient ecosystem?
green swamps