At the time most continents were crowded together in the supercontinent Gondwana. They lay on the path of tropical rainfall. As vegetable matter from these forests decayed, enormous deposits of peat accumulated, which later changed into coal. Now those continents are wide apart, but they have the coalfields which those ancient forests left behind.