a semiconductor material has an electrical conductivity value falling between that of a conductor, such as metallic copper, and an insulator, such as glass. its resistance falls as its temperature rises; metals are the opposite. its conducting properties may be altered in useful ways by introducing impurities ("doping") into the crystal structure. when two differently-doped regions exist in the same crystal, a semiconductor junction is created. the behavior of charge carriers which include electrons, ions and electron holes at these junctions is the basis of diodes, transistors and all modern electronics. some examples of semiconductors are silicon, germanium, gallium arsenide, and elements near the so-called "metalloid staircase" on the periodic table. after silicon, gallium arsenide is the second most common semiconductor and is used in laser diodes, solar cells, microwave-frequency integrated circuits and others. silicon is a critical element for fabricating most electronic circuits.
semiconductor devices can display a range of useful properties such as passing current more easily in one direction than the other, showing variable resistance, and sensitivity to light or heat. because the electrical properties of a semiconductor material can be modified by doping, or by the application of electrical fields or light, devices made from semiconductors can be used for amplification, switching, and energy conversion.
the conductivity of silicon is increased by adding a small amount (of the order of 1 in 108) of pentavalent (antimony, phosphorus, or arsenic) or trivalent (boron, gallium, indium) atoms. this process is known as doping and resulting semiconductors are known as doped or extrinsic semiconductors. apart from doping, the conductivity of a semiconductor can equally be improved by increasing its temperature. this is contrary to the behaviour of a metal in which conductivity decreases with increase in temperature.
the modern understanding of the properties of a semiconductor relies on quantum physics to explain the movement of charge carriers in a crystal lattice. doping greatly increases the number of charge carriers within the crystal. when a doped semiconductor contains mostly free holes it is called "p-type", and when it contains mostly free electrons it is known as "n-type". the semiconductor materials used in electronic devices are doped under precise conditions to control the concentration and regions of p- and n-type dopants. a single semiconductor crystal can have many p- and n-type regions; the p–n junctions between these regions are responsible for the useful electronic behavior.
some of the properties of semiconductor materials were observed throughout the mid 19th and first decades of the 20th century. the first practical application of semiconductors in electronics was the 1904 development of the cat's-whisker detector, a primitive semiconductor diode used in early radio receivers. developments in quantum physics in turn led to the development of the transistor in 1947, the integrated circuit in 1958, and the mosfet (metal–oxide–semiconductor field-effect transistor) in 1959.