Vaccines introduce a weakened or inactive form of a pathogen, or a piece of it, into the body. This doesn't cause illness but stimulates the immune system to respond. This response involves producing antibodies and activating specific white blood cells, preparing the body to fight off the real pathogen if it encounters it in the future.