Quantum confinement is a phenomenon that occurs when the physical dimensions of a material are reduced to the nanoscale, causing the energy levels of electrons within the material to become quantized and discrete, rather than continuous as in bulk materials.