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

Q&A Platform for Education
Platform Explore for Education