A diode or discrete diode is an electronic component which has ideally zero resistance to current in one direction as compared to ideally infinite resistance in the other. There are different types of discrete diodes which include zener diodes, schottky diodes, laser diodes, transient protection diodes, radio frequency and microwave diodes, and small signal diodes. A diode acts as a one-way valve which has different applications depending upon the property or type of diode used in the circuit. For instance, as a rectifier it is used to change alternate current (AC) to direct current (DC). In addition, light emitting diode ensures transfer of electric current between the electrodes in order to generate light. The most common type of diode in use today is a semiconductor diode that is equipped with "p-n junction" for connection between two terminals. The semiconductor diodes conduct electricity if the diode is in state of forward biased. Forward biased means the cut-in or threshold is in forward direction; thereby, allowing a less voltage drop as compared to the current flowing. This voltage drop across the diode (forward-biased) is used in temperature sensors.