Imunski mehanizmi proti bakterijam, virusom in zajedalcem