Question: how ionic compounds are formed?
Answer: Ionic compounds are formed as the result of the formation of positive and negative ions. Electrons are actually transferred from one atom to another to form rare gas electron structures for each ion. The atom which forms a positive ion loses electrons to the atom which gains electrons to form a negative ion.