Esophageal cancer develops in the esophagus, the tube connecting the throat to the stomach. There are two main types: squamous cell carcinoma and adenocarcinoma. Risk factors include smoking, heavy alcohol use, gastroesophageal reflux disease, and Barrett's esophagus. Diagnosis involves endoscopy, biopsy, and imaging tests. Treatment depends on cancer stage and health but may include surgery, radiation, chemotherapy, targeted therapy, or palliative care. Prognosis ranges from 47% 5-year survival for localized cancer to 5% for distant stage cancer.