Answer:
Atoms of nonmetals tend to gain electrons in order to fill their outermost principal energy level with an octet. Atoms form compounds in ways that give them eight valence electrons. Metals tend to lose electrons to achieve this configuration. Nonmetals tend to gain electrons to achieve this configuration.
Explanation: