Memory T cells are derived from naïve T cells that have been exposed to an antigen. Upon encountering their specific antigen for the first time, naïve T cells activate and proliferate, differentiating into effector T cells and memory T cells. The memory T cells persist long after the initial infection has been cleared, ready to mount a rapid response if the pathogen is encountered again.