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