When atoms or molecules gain or lose electrons, they form ions. Positively charged ions are called cations, and negatively charged ions are called anions. Groups of atoms can also carry a charge and are called polyatomic ions. Ionic compounds are named by combining the name of the cation and anion. Binary molecular compounds are systematically named using Greek prefixes and suffixes that indicate the number of atoms in the compound.