There has been a long history of the use of mathematics in genetics, ranging from the use of statistics to analyse genetic data to genetic models of evolutionary processes. Contemporary research into the genomic basis of disease and complex traits exemplifies the importance of statistical methods in genetics. Some examples of the development and application of population genetic models are described, which are intended to highlight the utility of such models for understanding variation and evolution in natural populations. The effects of selection on variability at sites linked to the targets of selection illustrate how fruitful interactions between theory and data can be.