The parietal membrane is reflected from the chest wall to cover the upper surface of the diaphragm and, in the midline, it covers the mediastinum, the partition which separates the two sides of the chest and contains the heart, great vessels and other structures which run through the thorax.