Smallpox is a virus that causes a rash that then turns into painful blisters. The last known case of smallpox was in 1977. What is the best explanation for the eradication of smallpox?

APeople are exercising more than they used to.
BGenetic testing determines who is more prone to smallpox.
CThere was an increase in antibacterial products.
DA vaccine was developed.