Immunology is the study of the immune system and is a very important branch of the medical and biological sciences. The immune system protects us from infection through various lines of defence. If the immune system is not functioning as it should, it can result in disease, such as autoimmunity, allergy and cancer.