The diode consists of a tube core, shell, and two electrodes. The core is essentially a PN junction with leads extending from both ends, encapsulated in plastic, glass, or metal housing. The electrode from the P-region is called the anode, while the electrode from the N-region is called the cathode.