Vaccines
The first human vaccines against viruses were based using weaker or attenuated viruses to generate immunity. The smallpox vaccine used cowpox, a poxvirus that was similar enough to smallpox to protect against it but usually didn’t cause serious illness. Rabies was the first virus attenuated in a lab to create a vaccine for humans.
Vaccines are made using several different processes. They may contain live viruses that have been attenuated (weakened or altered so as not to cause illness); inactivated or killed organisms or viruses; inactivated toxins (for bacterial diseases where toxins generated by the bacteria, and not the bacteria themselves, cause illness); or merely segments of the pathogen (this includes both subunit and conjugate vaccines).