The tail glands of most cats and dogs are located in an oval region of the dorsal base of the tail. It has a larger number of sebaceous and apocrine glands than most other areas of the body and are possibly used for individual indentification between animals.

In this picture the tail gland's hair has been shaved off to see better.
tail_gland.jpg