The Pennsylvanian period, lasting from 323 to 299 million years ago, is a subperiod of the Carboniferous period. It's characterized by the formation of vast coal swamps and the assembly of continents into the supercontinent Pangaea. The period is known for its rich coal deposits, which formed from the accumulation of plant matter in these swamps.