There are two main types of immunity in human body:
Innate immunity is the non-specific immunity present at the time of birth. This works on physical, physiological, cytological and chemical barriers.
Acquired immunity is the adaptive or specific immunity which a person develops during his/her lifetime. This works by B-cell and T-cells of the body.