Endoscopic tissue biopsy is mainly for endoscopic examination, such as gastroscopy and colonoscopy to find lesions, such as occupying or tumor lesions or ulcerative lesions, which are suspected to be malignant, and then part of the lesion tissue is removed by biopsy forceps for pathological examination to clarify whether there are malignant tumor cells. In clinical practice, the purpose of gastroscopy and colonoscopy is to check whether there is a combination of gastric cancer or intestinal cancer. At present, the only gold standard for the diagnosis of gastric cancer and intestinal cancer is to diagnose malignant tumor through endoscopy, together with imaging, and most importantly, to find malignant tumor cells by removing part of the lesion tissue.