Endoscopy is the use of cameras to relay images from inside the body. The device used, known as an endoscope, is a long, thin, and flexible tube that has a camera at one end as well as a light source. An endoscopy can be used to diagnose a wide range of conditions, and the results are interpreted by a specialist.