Overall, this comprehensive review outlines the common features of CD8+ TRM cell differentiation and biological functions, emphasizing their specific characteristics across diverse tissues and disease states, which can guide the design of therapies against infections and tumors while minimizing the risk of autoimmune diseases. This evidence concerns the gene CD8A and infection.