Yes. Endoscopy must be a medical procedure used to see and examine the internal organs and sections of the body through a natural opening or with a minor surgical incision. A gastroscopy, on the other hand, is a kind of endoscopy that examines the upper gastrointestinal organs, including the stomach, esophagus, and duodenum.