Endoscopy is a minimally invasive diagnostic and therapeutic procedure that allows healthcare providers to visualize the interior of the body using an endoscope. This tool is a flexible tube with a light and camera attached to it, enabling detailed examination and intervention in various parts of the body.