Rubidium (Rb) is an alkali metal located in Group 1 of the periodic table. Alkali metals typically have one electron in their outermost shell. To achieve a stable electron configuration, Rb will lose that one electron when it bonds with other elements.
Therefore, the correct answer is:
B. Rb loses an electron