The study and practice of measures aimed at preventing the spread of infectious diseases and other health hazards.