an electron is related to the energy level because its negativly charged. Think of a light in your house, when you switch it on the electricity which powers the light runs down along the wires etc......
every column is a family and they each have the same number of electrons to begin with. but the to become stable, they need to take, or give away electrons to have 8 electrons on there outter shell