How do Semiconductors Work?

Semiconductors only allow transference of electricity when there is an impure substance introduced such as boron. This can allow either negative or positive imbalance and allow current to flow.