The anal canal has two ring-shaped muscles (called sphincter muscles ) that keep the anus closed and prevent stool from leaking out. 
Your anal canal has two round-shaped muscles that keep your anus closed and keep stool from spilling out. 