Heartburn is a condition that results when stomach acids flow back up into the esophagus. This can cause a burning sensation in the chest and throat. Heartburn can be caused by eating certain foods, drinking alcohol, smoking, being pregnant, or being overweight.