The aim of this study was to clarify the value of CD3D in the diagnosis and prognosis of gastric cancer and its role in the tumor immune microenvironment. The gene discussed is CD3D; the disease is gastric cancer.