The Thoracic cavity contains the heart and the lungs. Actually, the heart is located in the mediastinum.. and the lungs are in the plural cavity... but both, together, are located in the thoracic.. Hope this answers your question. Source(s): My anatomy and phsyiology class. whew, I sure learned a lot..