House Wiki
Anorectum

The rectum, courtesy NIH, via Wikipedia

The rectum is a large tube that forms the end of the large intestine and terminates the anus. It's used for the storage of feces until they can be expelled. The rectum is able to stretch to several times its size when empty, and nerves attached to the muscles surrounding the rectum sense when it is full and contract the muscles to force feces out through the anus. Unlike the rest of the intestines, it's not designed to extract nutrients or water. As such, feces generally leave the anus with much the same consistency as they enter the rectum.

Rectum at Wikipedia