What rule do atoms that tend to combine in such a way that they have eight electrons in their valence shell follow ?
An ionic bond is formed when a metal loses one or more of its electrons , becoming a positively charged cation , and the electrons are then gained by the non-metal atom , becoming a negatively charged anion .