Body hair’s major function is to release pheromones, the hormones that attract potential suitors, according to a study. This includes underarm hair, which helps to give off odors. Just like animals, different people have different odors that attract others to them. This is possibly why some people like to smell their partners’ dirty shirts.