During an endoscopic ultrasound, you may be given sedation and anesthetic to help you relax. Then, your doctor will insert an endoscope with a small ultrasound device installed on its tip into your digestive tract. An endoscope is a tiny, flexible tube that has a light and camera attached to its end. The ultrasound will provide more detailed and accurate images than traditional ultrasound.