The electrical properties of materials also change at the nanoscale. Quantum effects become prominent, influencing the behavior of electrons. In quantum dots, for instance, electrons are confined in all three spatial dimensions, leading to discrete energy levels and unique optical properties. Conductivity and resistivity can also differ drastically as a result of these quantum effects and the increased importance of surface states.