Ionic Compounds
Ionic compounds are formed when metals react with nonmetals, resulting in the transfer of electrons. In this case, rubidium (a metal) will lose one electron to form a cation (Rb⁺), while nonmetals like bromine, nitrogen, and selenium will gain electrons to form anions. The resulting compounds are held together by electrostatic forces between the oppositely charged ions.