The diode is the simplest semiconductor device -it consists of a p-type layer and an n-type layer. Following the terminology of the vacuum-tube diode, the p-type layer is known as the anode and the n-type layer is known as the cathode. The point where the two layers connect is known as the PN junction.