Barium is a soft, silvery-white metal that was discovered in 1772. It has a medium density and good electrical conductivity. While ultrapure barium is difficult to prepare, barium and barium alloys are commonly used to remove unwanted gases from vacuum tubes.