Nanotransistors work on the same basic principles as traditional transistors, but they utilize quantum mechanical effects to achieve their function. The primary components are the source, drain, and gate. The gate controls the electrical conductivity between the source and the drain. When a voltage is applied to the gate, it changes the charge density in the channel, controlling the current flow between the source and the drain.