Kinda like medicine. Vaccines go into the body and target the virus, some vaccines make the virus weak, some exterminate the virus completely, and some aren’t tested enough to work. However with all the little battles happening to kill the virus you can get sick from vaccines.