Before vaccines, people became immune only by getting a disease and surviving it. Immunizations are an easier and less risky way to become immune.