Octet Rule
Atoms generally form bonding arrangements that give them filled shells of electrons like a noble gas configuration. The stability the atom aims for is that of its nearest noble gas.
For example, Lithium (Z = 3, Electronic Configuration = 1s2, 2s1) of the second row would prefer losing one electron to become Li+ (Z = 3, Electronic Configuration = 1s2) having an electronic arrangement similar to its nearest noble gas Helium (Z = 2, Electronic Configuration = 1s2).