Ionic compounds are fashioned when a metallic loses a number of electrons to a nonmetal. The metallic turns into a positively charged ion, known as a cation, and the nonmetal turns into a negatively charged ion, known as an anion. The 2 ions are attracted to one another by their reverse costs, forming an ionic bond. The components for an ionic compound is written by combining the symbols of the cation and anion, adopted by their costs.
For instance, the ionic compound components Li2S is fashioned when lithium (Li) loses one electron to sulfur (S). The lithium ion has a cost of +1, and the sulfide ion has a cost of -2. The components for the ionic compound is subsequently Li2S.