Also known as acid reflux, gastroesophageal reflux disease (GERD) is when stomach contents move back into the throat. This may cause a sour taste in the mouth and a burning sensation in the chest or throat, known as heartburn. Heart pain and heartburn from acid reflux feel similar partly because the heart and esophagus are located close to each other and share a nerve network.