Acid reflux occurs when some hydrochloric acid from the stomach which usually breaks down food, flows up the esophagus into the gullet. This happens when the gastroesophageal sphincter fails and allows stomach contents to be regurgitated into the esophagus. Whereas the stomach is adapted to protect against this acid, the esophagus is not and so symptoms such as heartburn are often felt.