A revolutionary medical procedure, an endoscopy enables a doctor to view and operate on the internal organs and vessels of your body using specialized instruments. When endoscopy is used in the treatment of gastrointestinal conditions, the procedure is known as gastrointestinal endoscopy. In this case, a doctor can see the inside lining of your digestive tract. This examination is performed using an endoscope – a flexible fiber-optic tube with a tiny TV camera at the end.