Heartburn is a painful burning sensation in the chest caused when stomach acids back up into the esophagus. Symptoms include chest pain, difficulty swallowing, and a sour taste in the mouth. Heartburn can affect both adults and children. Common causes include smoking, alcohol, obesity, certain foods like tomatoes and chocolate, and lying down after eating. Treatment involves weight loss, antacids, dietary changes, and lifestyle modifications like sleeping with elevated head.