To see the inside of the large intestine, the doctor may do a colonoscopy. A long, flexible, lighted tube called an endoscope is inserted into the anus. The endoscope is hooked to a camera that shows any inflammation or bleeding.