The capacity of an organism to defend itself against pathological processes or the agents of those processes. This most often involves innate immunity whereby the organism responds to pathogens in a generic way. The term disease resistance is used most frequently when referring to plants.