Natural selection works by individuals within a population containing a beneficial allele to survival, survive the others individuals who do not have the beneficial allele, and reproduce to create a generation of offspring having the beneficial allele.