The anal glands or anal sacs are small, paired sacs located on either side of the anus between the external and internal sphincter muscles. Sebaceous glands within the lining secrete a foul smelling liquid that is used for identification of members within a species. These sacs are found in all carnivora except bears.