Immunology studies the immune system in which three stages of existence