Upper endoscopy, also referred to as esophagogastroduodenoscopy or EGD, is a procedure used to examine your upper digestive tract. This includes examination of your esophagus, stomach, and early parts of your small intestines.
During the procedure, your doctor will use a thin flexible tube with a light and camera on the end called an endoscope. This test is commonly done to treat and evaluate symptoms such as upper abdominal pain, nausea, vomiting, bleeding or difficulty swallowing. It can also be used to detect inflammation, ulcers, and growths in the upper digestive tract such as polyps or cancer.