Vaccines have been successful in eradicating smallpox and nearly eradicating polio by activating the immune system against viral antigens. Live attenuated vaccines provide both humoral and mucosal immunity but carry risks of reversion, while inactivated vaccines are safer but require boosters. New approaches include recombinant DNA vaccines, which allow production of viral proteins to stimulate both antibody and cytotoxic T-cell responses. Developing an HIV vaccine faces challenges due to the virus's ability to evade the immune system through hiding in cells and polymorphism.