An endoscope is a medical device consisting of a long, thin, flexible tube equipped with a light and camera. It is used to examine the interior of a hollow organ or cavity within the body. The images captured by the camera are displayed on a monitor, allowing physicians to diagnose and sometimes treat conditions without the need for invasive surgery.