Electrons in an atom exist in fixed energy states (quanta) called shells, each shell is given a quantum number which refers to how much energy an electron will have to have if it is to exist in that particular shell, the higher the quantum number the higher the energy.