In quantum dot lasers, the quantum dots are embedded in a semiconductor material. When an electric current is applied, electrons and holes are injected into the quantum dots. These carriers recombine to emit photons, generating laser light. The discrete energy levels of the quantum dots lead to highly efficient and stable lasing.