Barium is chemical element 56 on the periodic table. Its symbol is Ba. It contains 56 protons and 56 electrons. Its mass number is about 137.3. It is a metal.

Properties

Physical properties
Barium is part of a group of elements known as the alkaline earth metals. It is a silvery metal that easily turns black. It is soft and ductile. It can form alloys with some metals that are partially alloys and partially chemical compounds.

Chemical properties
Barium is reactive, and if you put pure barium metal in the air, it will react with oxygen. At first it will turn black, then white as barium oxide is formed. Barium reacts with water to make barium hydroxide and hydrogen gas. Barium also reacts very fast with acids to make a barium salt and hydrogen. Barium can form barium peroxide if it is burned in air. 

Barium reacts with many other metal oxides and sulfides to make barium oxide or sulfide and the metal. It also reacts with carbon and nitrogen at a high temperature to make barium cyanide.

Chemical compounds

Barium is too reactive as a metal, so it is not found in the earth as a metal. It is found in chemical compounds. Barium only occurs in one oxidation state: +2. Most barium compounds are colorless. The ones that dissolve in water or stomach acid are very toxic. Barium sulfate is well known because it does not dissolve in water or acids. Barium compounds are quite heavy. Barium compounds put out a greenish flame when heated red-hot.

Occurrence

Barium is found as barium sulfate (barite) and barium carbonate (witherite) in the ground. Both of these minerals do not dissolve in water. Barium sulfate hardly dissolves in anything. Barium is found mainly in China, Germany, India, Morocco, and the US.

Preparation
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.

Barium carbonate, the other ore of barium, is dissolved in hydrochloric acid to make barium chloride and carbon dioxide. The barium chloride is melted and electrolyzed, making barium metal.

Uses

As a metal
Barium is used to remove oxygen from cathode ray tubes and vacuum tubes. It is placed inside and reacts with all of the oxygen, using it up. Barium is also used in spark plug wire.

As chemical compounds
Certain  compounds of barium, such as barium sulfate, are not toxic and can be put in the body. We can see where the barium travels in the body by X-rays and this can tell us whether there are problems, such as blockages. The barium sulfate builds up inside the body accumulating in organ systems. Barium sulfate absorbs the X-Rays as they pass through the body and an image is formed from the points where the rays have not passed through. It is useful because it provides a reasonably detailed image from very limited radiation exposure, compared with a CT scan for instance. Barium sulfate can be used as a pigment, too.

Other barium compounds have several other uses.

Safety
Barium is a very toxic element, and is dangerous. There is a really small amount of barium in our food, and this does not cause problems. If we get barium from other places, though, it can cause many problems. Even 1 gram of barium can kill you. It is dangerous because it acts like other really important elements, such as calcium and magnesium. If barium replaces these elements, it messes up the body.

References

Alkaline earth metals