The most important ones are the top of the valence band , the bottom of the conduction band , the Fermi energy , the vacuum level , and the energy levels of any defect states in the crystals . The important energy levels in a crystal are the top of the valence band , the bottom of the conduction band , the Fermi energy , the vacuum level , and the energy levels of any defect states in the crystal .