Gastroesophageal reflux disease (GERD) and hiatal hernias.

GERD occurs when stomach acid backs up into the oesophagus, causing heartburn. The fundoplication is performed to fix any hernias and then to strengthen the sphincter by wrapping the top of the stomach around the bottom of the oesophagus.