Conclusion: Our findings suggest that the identified hub genes, particularly BGN, FN1, COL1A2, THBS2, COL3A1, and COL5A1, play crucial roles in GC prognosis and TME cell infiltration. The gene discussed is COL5A1; the disease is gastric cancer.