Question: what is the relationship between period number and occupied energy shells?
Answer: The number n of a period on the periodic table is the same as the number of the highest principal energy level for the atoms on that row—that is, the principal energy level occupied by its valence electrons. Thus, elements on period 1 have a highest principal energy level of 1, and so on.