The Wigner-function (WF) approach to quantum electron transport in semiconductors is reviewed in this paper. The main definitions and properties related to the WF are presented, with a discussion of the various forms of the dynamical equations that govern its evolution. Monte Carlo solutions of such equations are also discussed. Interactions of electrons with applied fields, potential profiles, and phonons are analysed in detail. Finally, several physical applications are presented. Each topic has been developed from basic principles for the benefit of interested readers who are not experts in the particular subjects discussed in this paper.