There are many reasons for heart swelling and pain, which can be categorized into chest wall factors, cardiac factors, pulmonary factors, abdominal factors and other factors. 1. Chest wall factors: inflammation and contusion of the skin and muscles in the chest area can cause localized swelling and pain; at the same time, if the ribs are cracked or fractured and the periosteum bleeds locally, swelling and pain will also occur. 2. Cardiac factors: when myocardial ischemia, angina pectoris, acute infarction and other diseases occur, the anterior region of the heart may also be distended and painful, and may be accompanied by shortness of breath, dyspnea and other manifestations. 3. Lung factors: When pulmonary vascular embolism, spontaneous pneumothorax, pneumonia, bronchial dilatation and other conditions occur, the precordial area will be distended and painful, and at the same time there will be dyspnea or fever and other manifestations. 4. Abdominal factors: radiating pain in the precordial region may occur when gastritis, gastric ulcer and other diseases occur. It is recommended to go to the hospital promptly if the distending pain in the heart is not relieved.