The mechanism of inducing immune response that can be humoral or cell mediated in the recipient is referred as Immunization.
Vaccines comprise a non-dangerous configuration of the bacteria or virus that generates the disease you are being immunized against. The bacteria or virus will be killed, greatly weakened, or broken down into minute parts before use in the vaccine so that they can trigger an immune response without making you sick. Vaccines interact with the immune system and often create an immune response homogenous to that produced by the natural infection, but they do not subject the recipient to the disease and its potential complications. Many vaccines also produce immunologic memory same to that acquired by having the natural disease.