An endoscope consists of a long, flexible tube equipped with a light source and a camera. During an endoscopy procedure, the endoscope is inserted into the body through a natural opening or a small incision. The camera transmits real-time images to a monitor, allowing the physician to observe the internal structures. Instruments can also be passed through the endoscope to perform biopsies or therapeutic interventions.