The study of patterns of disease occurrence in populations and the factors that influence those patterns.