Generality
Colostomy is a rather delicate surgery, through which the large intestine is diverted and connected to a specially created opening in the abdominal wall.
Diagram of a permanent colostomy. Image taken from: http://en.wikipedia.org/wiki/Colostomy
Once the connection has been made, this opening (which is more correctly called stoma) replaces the natural anus, therefore - given its position - it must be equipped with a bag for the collection of feces.
The bag, of course, must be changed and cleaned periodically.
To make a colostomy necessary are several morbid conditions, such as colorectal cancer or intestinal obstruction.
There are two surgical techniques with which to perform a colostomy: the traditional surgical technique and laparoscopy.
Furthermore, bowel diversion and stoma can be achieved in different ways, depending on the pathological conditions that require colostomy.