We further elaborate the heterogeneity, differentiation, functionality, and regulation network of CD4+ and CD8+ T cells in infectious disease, chronic infection and tumor, and autoimmune disease, highlighting the exhausted CD8+ T cell differentiation trajectory, CD4+ T cell helper function, T cell contributions to immunotherapy and autoimmune pathogenesis. This evidence concerns the gene CD4 and infectious disease.