Comprehensive evaluation of PD-1 and PD-L1 in TCs and TIICs could help predict the prognosis of gastric cancers, as well as reveal patients who might benefit from targeted treatment. This evidence concerns the gene CD274 and gastric cancer.