Endoscopy is visualisation of the inner linings of the digestive tract like esophagus (food pipe), stomach, part of the small intestine and colon. The procedure consists of insertion of a long, thin tube directly into the body through the mouth or anus. Endoscopy involves minimal risks and usually involves a short duration. It is also possible to perform a biopsy or a small procedure through the endoscope. It can also be used to remove stones from the biliary tract and pancreas.