A tube with a light and a camera on the end of it that is used to view the esophagus, stomach, part of the duodenum, part of the terminal ileum and the entire large intestine. Endoscopes usually also contain a biopsy port for collection of tissue samples during endoscopic procedures.