Also called upper endoscopy, an EGD is an interior examination of the esophagus, stomach and duodenum.