In a particular ecosystem, a gene for a specific trait that gives a survival advantage, such as increased camouflage, is studied in a population of insects over several generations. Scientists observe that the frequency of this advantageous allele increases, while the frequency of other alleles decreases. This phenomenon exemplifies which key mechanism of evolution?