Quantum confinement occurs when the dimensions of a material are reduced to the point where they are comparable to the de Broglie wavelength of the electrons. This leads to changes in the electronic properties of the material, such as an increase in the energy gap. Quantum confinement is a key principle in quantum dots and other nanoscale structures, affecting how charge carriers behave.