Step-by-step explanation:
Nonmetals tend to gain electrons and become anions. For example, in Fig. 2.22 A, a neutral oxygen atom (O), with eight protons and eight electrons, gains two electrons. This gives it two more negative charges than positive charges and an overall charge of 2–.