Anal sac carcinoma is a highly aggressive cancer that develops in the small glandular structures on either side of a dog’s anus. These sacs produce a strong-smelling substance that dogs use as a territorial scent marker, among other reasons. Normally, this substance is released during defecation or when a dog is nervous or excited. However, in some cases, these anal sacs can develop cancerous tumors.