The skin of salamanders secretes mucus. This helps to keep the animal moist when on dry land, and maintains their salt balance while in water, as well as providing a lubricant during swimming. Salamanders also secrete poison from glands in their skin, and some additionally have skin glands for secreting courtship pheromones.