The principles and techniques used to investigate the spread of infectious diseases and their risk factors in populations.