The mediastinum is the central portion of the thoracic cavity located between the lungs. It is divided into the superior mediastinum above the sternal angle and inferior mediastinum below. The inferior mediastinum is further divided into the anterior, middle, and posterior mediastinum, with the middle mediastinum containing the heart and pericardium.