The third and most posterior segment, abutting the abdomen, is the metathorax, which features the third pair of legs and the posterior wings