Immunity refers to the body's resistance to injury from invading organisms, acquired from the mother at birth, through disease, or through vaccinations and inoculations; a response to foreign microorganisms that occurs with repeated exposure and results in resistance to a disease.