Answer the following question given this paragraph: 

39.3 | Breathing By the end of this section, you will be able to: • Describe how the structures of the lungs and thoracic cavity control the mechanics of breathing • Explain the importance of compliance and resistance in the lungs • Discuss problems that may arise due to a V/Q mismatch Mammalian lungs are located in the thoracic cavity where they are surrounded and protected by the rib cage, intercostal muscles, and bound by the chest wall. The bottom of the lungs is contained by the diaphragm, a skeletal muscle that facilitates breathing. Breathing requires the coordination of the lungs, the chest wall, and most importantly, the diaphragm.


Q: Mammalian lungs are located in what cavity, where they are surrounded and protected by the rib cage, intercostal muscles, and chest wall?


A:
thoracic