Analysis of immune infiltration showed a notable accumulation of effector-memory CD8 T cells, T follicular helper cells, type 1 T helper cells, activated B cells, natural killer cells, macrophages, and neutrophils in both LUAD and T2DM. The gene discussed is CD8A; the disease is type 2 diabetes mellitus.