To investigate the correlation between serum pepsinogen I (PGI), pepsinogen II (PGII), pepsinogen I and II ratio (PGR), IL-6, and TNF-α and Helicobacter pylori (Hp) infection in patients with gastric cancer. The gene discussed is TNF; the disease is gastric cancer.