Colonoscopy is a procedure to diagnose and treat problems of the large intestine (rectum and colon). It is accomplished by passing a colonoscope (a miniature camera on a thin, flexible tube) through the rectum into the colon (large intestine). In addition to seeing if there are problems, the doctor can use miniature tools to collect samples and treat some conditions (e.g. polyps).