👉 A diode is a semiconductor device that allows current to flow when an electrical current flows through it. It's named after the German physicist Albert Einstein who developed the first practical diode in 1930. The diode has two terminals, one at the cathode and another at the anode, with an electric potential difference between them. When a voltage is applied across the diode, electrons are transferred from the anode to the cathode.