What’s wrong with the pain in the chest when you breathe heavily?

The pain in the chest when gasping for air depends on which position is painful, and whether there is pain in the chest when pressing locally, often there are three most common cases of chest pain when gasping for air: 1, costal chondritis, because the cartilage between the rib cage and the sternum is inflamed, so it will be painful, not daring to breathe, so the chest hurts when gasping for air. 2, intercostal muscle damage, strain, because the muscle will be pulled when gasping for air, so it will also hurt, not daring to breathe for air. 3, pleurisy or pneumonia, because the pleura has exudation when the deep inspiration causes the pleura to rub. Pleurisy, pleurisy or pneumonia, because in pleurisy there is exudation from the pleura, and deep inspiration causes pleural friction, which causes pain in this case. Pneumonia also causes pain because of the exudation of inflammation, which also causes pleural friction, but pneumonia is often accompanied by fever, cough and sputum. Both cases of pleurisy and pneumonia require a hospital visit to take pictures and check blood.