Excretion, or defecation, is the final step in the digestive process. It involves the expulsion of undigested waste material from the body. Following absorption in the small intestine, the indigestible remnants of food pass into the large intestine, or colon.
Inside the colon, most of the remaining water is absorbed, and the leftover waste material is formed into feces. These feces are stored in the rectum, the final section of the large intestine, until they are eliminated from the body through the anus. This expulsion marks the end of the digestion process.