The less/more electrons an atom has in their outermost shell determines how reactive that element is. For example, Alkali Metals like lithium only need to lose one electron from their outer shell until they are fully stable, making them highly reactive. Thus, the atomic number determines the electron configuration, which in turn dictates how an element reacts in chemical reactions.