Esophagitis is an inflammation (swelling) of the lining of the esophagus, the tube that connects the throat to the stomach. If it is not treated, esophagitis can become very uncomfortable, causing difficulty in swallowing, and ulcers or scarring of the esophagus.