The procedure can also offer a number of therapeutic interventions such as control of bleeding, manometry, or dilation. 1  Esophagoscopyâlooking inside the esophagus for hiatal hernias, polyps, strictures, etc.  Gastroscopyâlooking inside the stomach for ulcers, polyps, inflammation, etc.