To look for stomach cancer, blood tests, x-rays and computed tomography (CT scan), and endoscopy may be used. Endoscopy uses a special lighted tube that is inserted from the mouth into the esophagus and then into the stomach, allowing the doctor to look at the lining of the stomach and take biopsies (tissue samples of suspicious areas). For patients who have early-stage stomach cancer, surgery to remove the affected part of the stomach is offered. Chemotherapy (using powerful medications to kill the cancer cells) and radiation therapy (focused x-ray beams directed to the cancerous areas) may also be used to treat the cancer or to relieve effects from the cancer's spread. Palliative care, treating pain and easing other symptoms at the end of life, is often offered to persons who have late-stage or metastatic stomach cancer, since chemotherapy, radiation, and surgery may not be helpful at that point.