1. A diode consists of a p-type and n-type semiconductor material joined together to form a pn junction. Forward bias occurs when a voltage is applied such that the positive terminal is connected to the p-type region and the negative terminal is connected to the n-type region.
2. During forward bias, electrons flow across the junction, narrowing the depletion region. As electrons cross into the p-type region they lose energy and become holes, which then flow towards the positive terminal.
3. Reverse bias occurs with the opposite voltage polarity, widening the depletion region and preventing current flow. A very small reverse current can occur due to thermal generation of minority carriers.