A diode is a semiconductor electronic element made mainly of silicon, which is equipped with two terminals - positive and negative, and its main task is to conduct electric current. The specific thing about diodes as elements is that they conduct an electric current in a p-n transition, that is, positive to negative charged particles. The positive electrode is called the anode and the negative electrode the cathode. When switched on in the forward direction, the resistance of the diode is small and the electric current flows, but when switched on in the opposite direction, the resistance is too high and no current flows.