study of the distribution of genes in populations of animals and of how genes and genotype frequencies are maintained or changed.