Dear student
Thoracic cavity is the cavity or hollow space present in body of vertebrates enclosed by rib cage and muscles between the diaphragm and neck. It contains lungs and heart.It also contains other organs such as oesophagus, trachea,etc.
Regards