What kind of device is a diode ?
A diode is a nonlinear device. This means that its current-voltage (I-V) relationship is not a straight line, which indicates that it does not follow Ohm's law across its entire operating range. Instead, a diode allows current to flow easily in one direction (forward bias) while offering high resistance in the opposite direction (reverse bias).