Semiconductors are materials that have electrical conductivity between conductors and insulators. Their resistivity decreases as temperature increases, unlike metals. Semiconductors include silicon and gallium arsenide. Doping semiconductors with impurities can alter their conducting properties. The behavior of charge carriers in semiconductor junctions forms the basis of modern electronics like diodes and transistors. Common types of semiconductors are intrinsic, n-type and p-type.