The rectum is the final section of the large intestine, connecting the sigmoid colon to the anal canal. It serves as a temporary storage site for feces before they are expelled from the body during defecation. The rectum plays a vital role in the digestive process and is involved in signaling the need to eliminate waste. Its structure allows it to accommodate varying volumes of stool while maintaining continence.