Endoscopy is a medical procedure that allows healthcare professionals to view the interior of a bodily organ or cavity. This is achieved using an endoscope, a flexible tube equipped with a light and camera. The images captured by the camera are displayed on a screen, enabling detailed examination of the area of interest.