An operation that attaches the colon to an opening in the abdomen called a stoma. An ostomy pouch, attached to the stoma and worn outside the body, collects stool. A temporary colostomy may be created to allow the rectum to heal from injury or surgery.