Query: Why is endoscopy performed?
Context: Endoscopy is a medical procedure which is performed to observe the internal organs of the body. It is performed to observe, confirm, and treat the symptoms of a patient. In some cases, it is used to detect and remove the cancer tissues and cells from the patient’s body.