Metals want to have a full outside shell so they are willing to lose the electrons in their unfilled outside shells. Nonmetals, particularly halogens, want to take those electrons to fill their almost filled outside shell. For example, sodium has one electron in its outside shell. Chlorine has 7 electrons in its outside shell and would love 1 more to complete its shell. The Na becomes positively charged and chlorine becomes negatively charged. Opposites attract and they come together to form sodium chloride--table salt. I hope that I am not reading your questions wrong and this helps.
Metals want to have a full outside shell so they are willing to lose the electrons in their unfilled outside shells. Nonmetals, particularly halogens, want to take those electrons to fill their almost filled outsi...See More