Semiconductors are materials with conductivity between conductors and insulators. They are important because their conductivity can be controlled and they can produce unidirectional current. Before semiconductors, vacuum tubes were used but were bulky, required high voltages, and had low reliability. Semiconductors like transistors were smaller, required less power, and were more reliable. Semiconductors can be intrinsic, with conductivity changing based on temperature, or extrinsic through doping to increase conductivity. Doping with elements like phosphorus creates n-type semiconductors with extra electrons as charge carriers, while doping with elements like boron creates p-type semiconductors with holes as charge carriers. A p