A colostomy is a surgical operation that diverts the colon to an opening in the abdominal wall so that waste can be removed. A bag is placed at the opening to collect the bowel movements. For many patients with a partial colectomy this is temporary while the surgical site heals. The colon can then be reconnected for normal bowel movements. If the colon was completely removed a permanent colostomy or ileostomy bag is necessary.