Concept:
Semiconductors have electrical conductivity between conductors and insulators.
Step 1: Pure semiconductors have limited number of charge carriers.
Step 2: Doping means adding a small amount of suitable impurity to a pure semiconductor.
Step 3: Doping increases the number of charge carriers.
Step 4: If pentavalent impurity is added, electrons increase and \(n\)-type semiconductor is formed.
Step 5: If trivalent impurity is added, holes increase and \(p\)-type semiconductor is formed.
\[
\boxed{\text{Doping with impurities}}
\]