Heartburn is an uncomfortable feeling in the chest that happens when acids from the stomach travel up the esophagus (the tube leading from the mouth to the stomach). When stomach acids hurt the lining of the esophagus, the feeling is a symptom. 