There are two major types of immunity:
Innate immunity — It is also called as the natural immunity, as it is inherited from the parents to their young ones and protects from birth throughout life.
Acquired immunity– It is also called as the adaptive immunity, as it is acquired after the birth in the form of vaccination, antibiotics, Immunization, etc.