The anus is the last part of the digestive tract. It consists of the pelvic floor muscles and the two anal sphincters (internal and external muscles). The lining of the upper anus is specialized to detect rectal contents.