Endoscopy is a procedure that looks inside the body using an endoscope — a flexible viewing tube with lenses. The scope has a small camera with a light on one end. Through fiber-optic technology and a video computer chip, the endoscope allows the physician to examine the inside of the body by transmitting an image to a video screen.