This is a fundamental concept in electronics. Let's break it down into a clear, step-by-step explanation.
At its simplest, a diode is a one-way street for electrical current. It allows current to flow easily in one direction but blocks it from flowing in the opposite direction. This unique property is what makes it so useful.
To understand how it works, we need to look at its three stages: the building blocks, the formation of the junction, and how it behaves when we apply a voltage.
A diode is made by joining two types of specially treated semiconductor materials (usually silicon).
Crucially, both P-type and N-type materials are electrically neutral on their own.
When the P-type and N-type materials are brought together, a fascinating process happens instantly at the boundary (the junction):
"Biasing" simply means applying an external voltage across the diode. This is where the one-way behavior comes from.
Forward Bias (The "On" State):
We connect the positive terminal of a power source to the P-side and the negative terminal to the N-side.
The external voltage pushes the holes from the P-side and the electrons from the N-side towards the junction.
This pushing force effectively shrinks the depletion region and overcomes the built-in potential barrier.
Result: Once the applied voltage is greater than the built-in potential (~0.7V), the barrier is overcome, and current flows easily through the diode. The one-way street is open.
Reverse Bias (The "Off" State):
We connect the negative terminal of a power source to the P-side and the positive terminal to the N-side.
The external voltage pulls the majority charge carriers (holes and electrons) away from the junction.
This widens the depletion region, making the potential barrier even larger.
Result: The barrier becomes too large for current to flow. The diode acts like an open switch, blocking almost all current. The one-way street is closed. (A very tiny "leakage current" may still flow, but it's usually negligible).
The primary and most common application of a diode is rectification.
What is Rectification?
Rectification is the process of converting Alternating Current (AC) into Direct Current (DC).
Why is this so important?
The power that comes from our wall outlets is AC, where the voltage continuously swings between positive and negative. However, almost all electronic devices—from your phone and laptop to your TV—require a steady, constant DC voltage to operate.
How does a diode do this?
A simple circuit called a rectifier uses the diode's one-way property.
The Result: The output is no longer AC. It's now a series of positive pulses—this is called pulsating DC.
This pulsating DC can then be smoothed out using other components (like capacitors) to create the steady DC voltage that electronic devices need. This process is the foundation of every power supply (like your phone charger or laptop's power brick).