An endoscope is a flexible fiberoptic scope with a light that helps a physician see inside certain internal organs. When the scope is inserted through the mouth, the lining of the esophagus, stomach, and upper duodenum can be visually examined for any abnormalities or growths. A biopsy can be taken through the endoscope of any suspicious areas that are seen.