A colonoscopy is a procedure that allows a doctor to look inside the colon and to find cancer very early. It is the only test that allows your doctor to look directly at the inside of your entire colon and take small samples from polyps or remove polyps completely. When a doctor takes small samples, the test is known as a biopsy.