At the nanoscale, the properties of materials can differ significantly from their bulk counterparts. One notable change is in the band gap. In nanomaterials, the band gap can be tuned by altering the size, shape, and composition of the nanostructures. This is due to the quantum confinement effect, where electron and hole wavefunctions are confined to dimensions comparable to their de Broglie wavelengths.