Both male and female beavers have two castor sacs . They have two glands in two empty spaces under the skin . Both male and female beavers possess a pair of castor sacs and a pair of anal glands located in two cavities under the skin between the pelvis and the base of the tail .