p–n junctions are elementary "building blocks" of semiconductor electronic devices such as diodes, transistors, solar cells, LEDs, and integrated circuits; they are the active sites where the electronic action of the device takes place. For example, a common type of transistor, the bipolar junction transistor, consists of two p–n junctions in series, in the form n–p–n or p–n–p; while a diode can be made from a single p-n junction. A Schottky junction is a special case of a p–n junction, where metal serves the role of the n-type semiconductor.