How does a vaccine act?

How does a vaccine act ?
A.
The vaccine acts by making the body’s immune system to produce antibodies against the disease-causing microbe in the vaccine. The antibodies attack and destroy the weakened microbe as it enters the body.