The periodic table is organized by their chemical reactions and such. The chemical reactions are an effect of the amount of valance electrons an element contains. So basically, the electrons provide the elements energy in any given reaction. And the reactions determine where the element is located on the table.