Immunological memory is the ability of the immune system to quickly and specifically recognize an antigen that the body has previously encountered and initiate a corresponding immune response. Generally, they are secondary, tertiary and other subsequent immune responses to the same antigen. The adaptive immune system and antigen-specific receptor generation (TCR, antibodies) are responsible for adaptive immune memory.[citation needed]
After the inflammatory immune response to danger-associated antigen, some of the antigen-specific T cells and B cells persist in the body and become long-living memory T and B cells. After the second encounter with the same antigen, they recognize the antigen and mount a faster and more robust response. Immunological memory is the basis of vaccination.[1][2] Emerging resources show that even the innate immune system can initiate a more efficient immune response and pathogen elimination after the previous stimulation with a pathogen, respectively with PAMPs or DAMPs. Innate immune memory (also called trained immunity) is neither antigen-specific nor dependent on gene rearrangement, but the different response is caused by changes in epigenetic programming and shifts in cellular metabolism. Innate immune memory was observed in invertebrates as well as in vertebrates.[3][4]