So barium sulfate is reduced by carbon to make barium sulfide and carbon dioxide . The barium sulfide is dissolved in hydrochloric acid . Instead , the ore is heated with carbon to reduce it to barium sulfide :