Active and passive immunity can be acquired naturally through infection or artificially through vaccination. Active immunity develops when the body produces its own antibodies and memory cells in response to an antigen, while passive immunity involves the transfer of ready-made antibodies from another. Vaccinations provide active immunity by exposing the immune system to an antigen without causing disease, allowing it to mount a protective memory response upon future exposure. Different types of vaccines include live attenuated, inactivated, toxoid, cellular fraction, and recombinant vaccines, which are administered through various routes to safely induce protective immunity.