Why do atoms of Group 1 elements lose electrons to form cations whereas atoms of group 17 elements gain electrons to form anions?

Respuesta :

remember that an element always tries to be stable that why the group 1 elements lose 1 electron to be stable and for group 17 it's easier to gain and not to give to be more stable