Population genetics is the study of genetic variation within species. It looks at how genetic differences arise and are maintained in populations over time due to factors like mutation, natural selection, genetic drift, and gene flow between populations. Understanding population genetics provides insights into evolution and disease inheritance patterns at the population level.