A diode is a device that allows current to flow in only one direction. When a so-called forward bias (a voltage in the "forward" direction) is applied, current flows freely through the device. When the voltage is applied in the opposite direction (called a reverse bias), no current flows.