An upper gastrointestinal series (UGI) is a radiological examination of the upper part of the gastrointestinal tract, which includes the esophagus, stomach, and the first part of the small intestine (duodenum). This procedure involves the ingestion of a contrast material, usually barium, which helps to visualize the GI tract on X-ray images.