Substance that prevents infectious agents or organisms from spreading or kill infectious agents in order to prevent the spread of infection.