An upper gastrointestinal (GI) test uses X-rays to take pictures of the stomach and small bowel.

The test helps the doctor see how well these organs are working.