The statement is - True.
The Carboniferous period/epoch is a period that lasted approximately 60 million years, being between the Devonian, and Permian periods. It got its name because it is the period from which most of the coal originates on our planet. During the first half of this period, the planet was mostly covered in dense swampy forests, and the land life was developing very well. In the second half of it, because of the geologic activities that caused the continents to collide and form Pangaea, the climate changed, it became much colder and much drier, and lots of mountain ranges appeared, and this caused a large scale demise of the vast rainforests.