An anal fistula is a small tunnel that develops between the end of the bowel and the skin near the anus, often following an infection.