Immunity can be defined as the ability of each living organism is Maintain its own integrity ( homeostasis ) through Recognizing the non -self and discriminating it from the self . In vertebrates innate and adaptive immunity mechanisms are Involved in fighting against Pathogens . According this general opinions , filogenetically older invertebrates respond this infection activating innate immunity reactions only .