Answer:
I think the cells fight the weakened disease therefore helping you to become immune to it which then helps you to fight it because they are putting it into your body which gives you very mild symptoms of the disease and you can therefore fight it off with a better chance than having not already fought it.
Have a Nice day! :D
-JD-