Atoms with an outer shell of 8 electrons have a stable electronic structure. Atoms can be made stable by transferring electrons. This is called ionic bonding.
Metal atoms lose electrons to get a stable electronic structure. Therefore they form a positive ion, as there are fewer negatively charged electrons than positively charged protons.
Non-metal atoms gain electrons to get a stable electronic structure. If an atom gains electrons then a negative ion is formed.
During ionic bonding, the metal atom becomes a positive ion and the non-metal atom becomes a negative ion. These two ions then attract one another.
Comments
No comments have yet been made