Complex sentence: Males use hair-pencils in courtship behaviors with females, the pheromones excreted by the hair-pencils serve as both aphrodisiacs and tranquilizers to females as well as repellents to conspecific males.
Split into simpler sentences: Males use hair-pencils in courtship behaviors with females. The pheromones excreted by the them serve as both aphrodisiacs and tranquilizers to females as well as repellents to conspecific males.