Respuesta :
Your answer is QUOTE:
Nonmetals attain stable noble gas configurations by gaining electrons and forming anions with outer electrons in the existing energy level. Metals attain noble gas configurations by losing electrons and forming cations with a complete octet in the next-lowest energy level
Nonmetals gain electrons to form anions and metals lose electrons to form cations.
To predict the behavior of each type of element in obtaining stability by the octet rule, it is necessary to observe how these elements have their valence layer formed.
Metals
Metals have fewer electrons in their valence shell, which makes them more susceptible to losing electrons to obtain the octet (more energetically viable), becoming cations.
Non metals
Non metals have more electrons in their valence shell, which makes them more susceptible to gaining electrons to obtain the octet (more energetically viable), becoming anions.
So, metals lose electrons to form cations and non metals gain electrons to form aninons.
Learn more about octet rule in: brainly.com/question/20513509