Mental glands make chemicals that come out through the skin. These chemicals help the animal tell when another animal is the same or a different species from them. These chemicals also helps them choose mates.