A virus or bacteria that can cause infection is a pathogen.