The colorful feathers of male peacocks result from sexual selection. Peacocks use their feathers to attract females during mating season. More elaborate and colorful feathers make the male more attractive because they indicate health and genetic fitness. Females are more likely to mate with the most colorful males, increasing the chances of healthy offspring.