Vaccination provides immunity against a disease because it stimulates the body to produce