Skunks have a special gland that produces the liquid spray. A skunk lifts its tail and releases the spray when it is scared. It creates a terrible stench that wards off predators and makes skunks very unpopular.
There is a gland in the anus that holds the spray for when it is needed. The spray is not pee. It is a special oily concoction that is made for the express purpose of deterring preditors. Actually,...
they have a special liquid near where their feces come out, and when they feel threatened or frightened, they spray it and once they use it all up, their body produces more.