It is very hard to get barium from barium sulfate. So barium sulfate is reduced by carbon to make barium sulfide and carbon dioxide. The barium sulfide is dissolved in hydrochloric acid. This makes hydrogen sulfide and barium chloride. The barium chloride is melted and electrolyzed to get liquid barium metal. The barium metal is solidified and stored in oil.