Instructions: Given scientific fact as input, generate the question from this fact such that it can be answered from the input.
Input: Natural selection works by selecting for alleles that confer beneficial traits or behaviors, while selecting against those for deleterious qualities.
Output:
What works by selecting for alleles that confer beneficial traits or behaviors, while selecting against those for deleterious qualities?