Ecological genetics is the study of genetics in natural populations. It combines ecology, evolution, and genetics to understand the processes behind adaptation. It is virtually synonymous with the field of molecular ecology.
This contrasts with classical genetics, which works mostly on crosses between laboratory strains, and DNA sequence analysis, which studies genes at the molecular level.