We found that the volatile components of R. rubescens could inhibit the activity of gastric cancer cells, possibly by regulating the levels of TNF, IL1B, MPP9 and PTGS2. The gene discussed is TNF; the disease is gastric cancer.