The thoracic ganglia are paravertebral ganglia. The thoracic portion of the sympathetic trunk typically has 12 thoracic ganglia. Emerging from the ganglia are thoracic splanchnic nerves (the cardiopulmonary, the greater, lesser, and least splanchnic nerves) that help provide sympathetic innervation to thoracic and abdominal structures. The thoracic part of sympathetic trunk lies posterior to the costovertebral pleura and is hence not a content of the posterior mediastinum