Upper gastrointestinal endoscopy or eso-gastro-duodenal fibroscopy is an examination that studies the inner wall of the upper part of the digestive tract as part of check-ups in people with digestive bleeding, a stomach ulcer, history of tumor of the esophagus or stomach, inflammation resistant to treatment, gastric reflux, or persistent digestive pain or disturbance.