Population genetics is the study of the genetic composition and changes within a population over time. It focuses on understanding the frequency and distribution of genetic variations, as well as the factors that influence the evolution of these variations within a given population.