A colonoscopy is a procedure used to examine the inside of your colon (large intestine) and rectum. During the procedure, a long, flexible tube with a camera, called a colonoscope, is inserted through the rectum to view the colon. It\'s commonly done to check for problems like colon cancer, polyps, or signs of inflammation and bleeding.