how is the elements period related to the number of energy levels over which its electrons are spread.

how is the elements period related to the number of energy levels over which its electrons are spread.