Illustration showing the rectum 
The rectum is a hollow, muscular tube that's connected to the end of the colon. Waste passes through the rectum as it leaves the body.