Immune system
Immunology is  scientific part of medicine that studies the causes of immunity to disease.  For many centuries people have noticed that those who recover from some infectious  diseases do not get that illness a second time.