Q: Given a scientific question, generate a correct answer to it.
What works by selecting for alleles that confer beneficial traits or behaviors, while selecting against those for deleterious qualities?
A:
natural selection