Anyone who’s had too spicy or too rich late-night meals has likely felt the discomfort of heartburn, that achy, burning feeling in your chest that can sometimes be accompanied by a bitter or acidic taste in your mouth. It can occur when stomach acid splashes back into the esophagus, causing acid indigestion or acid reflux.