The electronic density functional is explicitly used in the calculation of the electronic ground state.  Packages such as VASP have an option to calculate the electronic density of states per eV to facilitate the prediction of conduction bands and band gaps.