By examining the frequency of genetic traits, researchers can track how advantageous characteristics become more or less common over generations.