An ostomy is an opening in your stomach that is made by surgery to let solid or liquid waste leave your body. People with some gastrointestinal (sometimes called GI; also known as the digestive system) conditions, like inflammatory bowel disease (IBD), colorectal cancer, diverticular disease, or intestinal trauma or tear might need an ostomy.