atoms can be ionized by bombardment with radiation, but the more usual process of ionization encountered in chemistry is the transfer of electrons between atoms or molecules. this transfer is usually driven by the attaining of stable ("closed shell") electronic configurations. atoms will gain or lose electrons depending on which action takes the least energy.