Evolution can even favour genes that are not just suboptimal, but wholly harmful to the species and all its individuals. A famous example is the peacock’s large, colourful tail, which is believed to diminish the bird’s viability by making it harder to evade predators, and to have no useful function at all.