In the present study, we investigated the prognostic value of CD4+T cells, CD8+T cells, and CD19+B cells in the peripheral blood by flow cytometry, as well as in the tumor microenvironment by immunohistochemistry of GC, and evaluated their correlations in different locations in order to determine their complicated interactions. The gene discussed is CD8A; the disease is gastric cancer.