By the end of the Carboniferous, the Earth's landmasses were moving toward a single, global supercontinent called Pangaea.