A hiatal hernia occurs when the upper part of the stomach bulges through the diaphragm into the chest cavity, often leading to gastroesophageal reflux disease (GERD). Symptoms can include heartburn, difficulty swallowing, and chest pain, but many cases are asymptomatic and discovered incidentally.