Metal Meets Nonmetal: Forming Ionic Compounds