The rabies virus gets into the saliva of an infected animal so it can spread to another animal or to a person.