The most important consequence of the quantum confinement effect is the size dependence of the band gap for nanocrystalline semiconductors. By confining the exciton of a semiconductor, the band gap may be tuned to a precise energy depending on the dimensionality and degree of confinement .