Nanoelectronic devices function by taking advantage of the quantum mechanical properties of materials at the nanoscale. For instance, the behavior of electrons in a nanowire or carbon nanotube can be significantly different from their behavior in bulk materials. These quantum effects can be harnessed to create devices with unique electrical characteristics.