Study of the occurrence of infectious diseases, their origin and pattern of spread through a population.