Convert atoms into cations and anions and then make ionic compounds