A period represents the number of electron shells in an element while a group represents the number of valence electrons.