Ultrasound device being threaded through an endoscope into the abdomen

During an endoscopic ultrasound of the pancreas, your doctor inserts a thin, flexible tube (endoscope) down your throat and into your stomach. An ultrasound device at the end of the tube emits sound waves that generate images of your digestive tract and nearby organs and tissues.