Chest pain is a common symptom that can be caused by several conditions. Cardiac causes of chest pain, such as angina and heart attack, are serious and usually require prompt medical attention and treatment. Other causes of chest pain, such as spasm of the esophagus or inflammation of the chest wall, may be less serious and require different treatment than does chest pain related to heart conditions. Therefore, an accurate diagnosis is important to guide proper treatment of patients with chest pain.