Definition
A p-n junction is a fundamental component in many semiconductor devices, like diodes and transistors. It forms where a p-type (positive charge carriers) and an n-type (negative charge carriers) semiconductor material meet. This creates a region with unique electrical properties. Think of it like a one-way street for electrical current. When voltage is applied in one direction, current flows easily. However, in the opposite direction, current is blocked, allowing it to act like a switch 💡.