When the human immune system is exposed to an infection once, it can learn how to cope quickly if it is exposed to it again. By exposing an individual to an immunogen in a controlled way, the body will be able to protect itself from that infection later on in life.