A membrane in the midline of the thorax of mammals. It separates the lungs between the sternum in front and the VERTEBRAL COLUMN behind. It also surrounds the heart, trachea, esophagus, THYMUS, and lymph nodes.