sexual selection, the selection of mates on the basis of the attraction of or preference for certain traits, such as coloration or behavior patterns, so that eventually only those particular traits appear in succeeding generations. It explains the wide variety of sexual characteristics among the various species.