An ostomy is a surgically created opening in the abdomen—called a stoma—that allows waste (stool or urine) to exit the body, bypassing a damaged or diseased part of the digestive or urinary system. It is used when normal bodily functions are impaired, with waste collecting in a removable, external pouch.