A barium swallow (esophagram) involves drinking a liquid that contains a small amount of barium. Barium makes your body parts show up more clearly on an X-ray. A fluoroscopic X-ray using short bursts of an X-ray beam provides footage of your esophagus as you swallow. The test is one of the ways your provider may diagnose issues with your esophagus.