Is the element barium helpful or harmful to humans?

The element of barium is invaluable to medicine. Barium is used for medical imaging of the human body to diagnose disease.