What does the thoracic cavity contain