Does gastroscopy have any impact on pregnancy preparation? Learn about! 1. The purpose and process of gastroscopy Gastroscopy is an endoscopic examination used to evaluate the health of the stomach and esophagus. During a gastroscopy, the doctor inserts a flexible tube (endoscope) through the mouth into the stomach