Barium is a white liquid that is visible on X-rays. Barium passes through the digestive system and does not cause a person any harm. As it passes through the body, barium coats the inside of the food pipe, stomach, or bowel, causing the outlines of the organs to appear on X-ray.