(n)pleural cavitythe cavity in the thorax that contains the lungs and heart