Colonoscopy is a procedure that lets doctors look inside the large intestine, which includes the colon, rectum, and anus, and sometimes the very end of the small intestine. During the test, a long, flexible tube called a colonoscope, which is equipped with a tiny camera, is gently inserted through the anus. This allows the doctor to clearly see the lining of the intestine on a monitor, check for any problems like polyps, inflammation, or bleeding, and even perform treatments if needed during the same procedure.