Diffusion current is a current in a semiconductor caused by the diffusion of charge carriers (holes and/or electrons). The drift current, by contrast, is due to the motion of charge carriers due to the force exerted on them by an electric field. Diffusion current can be in the same or opposite direction of a drift current. The diffusion current and drift current together are described by the drift–diffusion equation.