In summary, we developed a cGAS-STING pathway-related prognostic index of GC and the risk score model can be conveniently used to predict prognosis, and we found that the underlying molecular mechanisms may affect immune-related biological processes and TIICs, which may provide novel insights into the relationship between GC and tumor immune infiltration. The gene discussed is CGAS; the disease is neoplasm.