Cell-mediated immunity involves T lymphocytes that combat intracellular microbes. There are two phases: activation of naive T cells by antigen-presenting cells in lymphoid tissues, followed by migration of effector T cells to sites of infection. Effector T cells differentiate into subsets like TH1 and TH2 cells that secrete cytokines activating other immune cells. CD8+ T cells become cytotoxic T lymphocytes that directly kill infected cells. Memory T cells remain after infection clearance to provide rapid protection upon reexposure.