In chemistry, an ionic compound is a chemical compound in which ions are held together in a lattice structure by ionic bonds. Usually, the positively charged portion consists of metal cations and the negatively charged portion is an anion or polyatomic ion. Ions in ionic compounds are held together by the electrostatic forces between oppositely charged bodies. Ionic compounds have high melting and boiling points, and they are hard and very brittle.
can form an ionic compound with , and it is .
It is possible, because of product consists of metal cations and the negatively charged portion anion . The same reason why ionic compound can't be formed is for and .