Population genetics is a subfield of genetics that studies the genetic composition of populations and how it changes over time. It focuses on the frequency and distribution of alleles (gene variants) within a population, and the factors that influence these such as mutation, migration, genetic drift, natural selection, and recombination.