A vaccine helps prevent the infection of a virus.