Semiconductor quantum wells are nanostructures where the motion of charge carriers, such as electrons and holes, is confined to two dimensions. This confinement occurs because the quantum well is sandwiched between two layers of material with a larger bandgap. These structures are often only a few nanometers thick and exhibit unique electronic and optical properties due to quantum mechanical effects.