A p-n junction diode is a basic semiconductor device that controls the flow of electric current in a circuit. It has a positive (p) side and a negative (n) side. If you're reading this lesson on a computer or laptop that is plugged into an electrical outlet, then you're probably making use of such a diode right now. If you continue, you'll find out where you'll most likely find this diode.