Barium carbonate is a white solid precipitated from a solution of barium hydroxide and urea. The chemical formula for barium carbonate is BaCO3. It also occurs in minerals known as witherite and is also prepared from barytes through precipitation. It is toxic in nature.