
In gastroenterology, endoscopy is the process of visualizing the digestive tract for diagnostic and therapeutic purposes. During endoscopy of the upper digestive tract, the larynx, esophagus, gastroesophageal junction, parts of the stomach, pyloric canal and parts of the duodenum are visualized.