A fistula is nothing but a tunnel formed between an infected gland inside the anal canal or rectum and connecting it to a skin opening on the surface of the skin around the anus.
The glands present inside the rectum secretes juices for easy passage for stools. At times, these glands can become infected and an abscess (infected cavity) can be formed...