Esophagogastroduodenoscopy, or EGD for short, is a procedure used by your doctor to gain more information about your esophagus, stomach, and small intestine. Your doctor can look at the insides of these structures by placing an endoscope, which is a small, bendable tube that acts like a video camera, into your throat.