Which type of immunity is acquired through exposure to a disease-causing agent or vaccination?

a. Active immunity
b. Passive immunity
c. Innate immunity
d. Adaptive immunity