Answer: Elements' reactivity is determined by their valence electrons. Groups 1 and 17 (alkali metals and halogens) complement each other effectively since they have opposing tendencies: alkali metals like to lose electrons while halogens prefer to gain electrons. Another set is groups 2 and 16 (alkaline earth metals and chalcogens), which have complementary reactivity.