The rectum and anus are the last part of the digestive system.