Factors contributing to the spread of infectious diseases