The thoracic cavity houses major organs such as the heart and lungs. The heart is located slightly to the left of the midline, nestled between the lungs in an area called the mediastinum. The lungs are divided into lobes—three on the right and two on the left—and are situated on either side of the heart. This positioning is critical for procedures like auscultation and chest percussion.