Defecation is the final act of digestion by which organisms discharge feces from the digestive tract through the anus.