The external anal sphincter is a voluntary muscle that encircles the anal canal and plays a crucial role in maintaining fecal continence by allowing conscious control over the expulsion of feces. It works in conjunction with the internal anal sphincter and pelvic floor muscles to regulate the passage of stool and gas from the rectum.