Conduction in conductors and semiconductors