The trial was based on the results of previous research that suggested differences in the levels of specific chemicals (butyric, pentanoic and hexanoic acids, butanal, and decanal) between patients with stomach or oesophageal cancer and patients with upper gastrointestinal symptoms without cancer.