Acid reflux, also known as gastroesophageal reflux disease (GERD), occurs when stomach acid flows back into the esophagus, causing irritation and discomfort. This backflow is often due to a malfunctioning lower esophageal sphincter (LES), a muscle that normally prevents stomach contents from moving upwards. Various factors can contribute to this, including lifestyle choices, diet, and physical conditions.