The Intestinal tract is basically a tube that extends from the mouth to the anus. An absorptive layer of epithelial cells that are involved in absorbing nutrients and water lines the inside of the intestinal tract.
The small intestines absorb the nutrients and change the liquid to stool.
At the ascending colon the stool becomes more solid by allowing water absorption. It also acts as a reservoir where the mixing function takes place.
At the transverse and descending colon peristaltic movement happens and the solid faecal matter is pushed to the sigmoid colon, which acts as a reservoir.
The rectum acts as a reservoir and a pump to propel the stool during defecation.
At the anus there is sensory mucosa that is necessary to distinguish between solid, gas and liquid. If it is the appropriated time and place the anus will allow defecation.
All of these movements in the intestinal tract are under involuntary control except the external anal sphincter that can voluntary contract or eccentrically relax to allow or defer defecation.
The anal sphincters are the muscles that close off the lower end of the bowel. These two muscles wrap in an inner (Internal Anal Sphincter) and outer (External Anal Sphincter) circle around the anal outlet.
The Puborectalis (Levator Ani ) muscle is continuously tensioned and acts to pull the lower part of the rectum forward, closing off the exit angle. When defecation is planned the muscle relaxes and the anorectal angle widens. Any damage to this muscle or its innervation will disrupt this sequence.