The cavity that you are referring to is know as the thoracic cavity.
The ventral body cavity contains the organs in the chest and abdomen.
Thoracic cavity
The hilum is the region of lymph tissue in the chest cavity.
Hemothorax is a medical term meaning blood in the chest cavity.
The medical term for the region between the lungs in the chest cavity is "mediastinum." This area contains the heart, major blood vessels, esophagus, trachea, and other vital structures. Any abnormalities or diseases affecting the mediastinum can have significant health implications.
Pectus carinatum is the medical term meaning pigeon chest.
Pleurisy, or pleuritis, is inflammation of the lining of the lungs (the pleura) that leads to chest pain (usually sharp) when a breath is taken.Pleurisy
Chest cavity
When a wash out is carried out during surgery, it is called a lavage. The abdominal cavity, chest and even the joints are washed out in infected or contaminated cases .
The medical term for the condition of blood in the chest cavity is hemothorax. This condition may result from trauma.
The cavity inside the trunk of the body is called the thoracic cavity. It houses the heart and lungs and is surrounded by the ribs and chest muscles. The diaphragm separates the thoracic cavity from the abdominal cavity below.
Pericardial is the medical term meaning pertaining to the pericardium, the membrane surrounding the heart.
Intrathoracic is the medical term meaning inside the chest. The heart and lungs are intrathoracic.
The heart is within the chest cavity. It is located medially in the chest cavity.