The immune memory mainly comes from acquired immunity, which comes from an individual’s exposure to pathogens and vaccinations. The immune memory depends on the pathogens that enter the body and how the body responds. So, one cannot inherit the immune memory from their mother or father.