* Barium (Ba): Barium is an alkaline earth metal with a +2 charge (Ba²⁺).
* Fluorine (F): Fluorine is a halogen with a -1 charge (F⁻).
To form a neutral compound, two fluorine ions (2 x -1 = -2) are needed to balance the +2 charge of the barium ion.