Immunity in biology is the ability of multicellular organisms to resist harmful microorganisms. Immunity includes both proprietary and non-specific components. Nonspecific components function as barriers or destroyers of a wide variety of pathogens regardless of their antigenic nature.