The rectum is the final straight section of the large intestine, connecting the colon to the anal canal and anus