Barium sulfate is a radiopaque contrast agent commonly used in medical imaging to enhance the visibility of various structures in the body during radiographic examinations. It is composed of barium and sulfate ions and is highly insoluble in water, which makes it safe for internal use because it does not get absorbed into the bloodstream.