There can also be local transitions to a nonmetal, particularly in semiconductor devices. One example is a field-effect transistor where an electric field can lead to a region where there are no electrons at the Fermi energy (depletion zone).