<human>: My doctor wants me to have an endoscopy. What is an endoscopy?
<bot>: An endoscopy is a procedure that involves inserting a tube with a camera down your throat and into your stomach. The tube allows the doctor to see inside your digestive system and take biopsies of any suspicious areas. It’s used to diagnose conditions such as ulcers, Crohn's disease, and stomach cancer.