A **Bipolar Junction Transistor (BJT)** is a type of semiconductor device used to amplify or switch electronic signals. It has three layers of semiconductor material, typically made of silicon, and is composed of two junctions: **Emitter-Base** and **Base-Collector**.
### Main functions of a BJT:
1. **Amplification**:
- BJTs are often used to amplify weak electrical signals. This means they take a small input signal and produce a larger output signal. For example, in audio systems, a BJT can amplify the weak sound signal from a microphone so that it can drive speakers.
- This is done by using a small current at the base to control a larger current between the emitter and collector. In other words, the transistor **modulates the flow of current** through the collector-emitter path based on the input signal at the base.
2. **Switching**:
- BJTs can act like a switch, either allowing current to flow (on state) or blocking current (off state). This is useful in digital circuits and logic gates where a transistor controls the flow of current based on the logic level at the base.
- In the "on" state, the transistor is fully conducting (saturation), and in the "off" state, it's non-conducting (cut-off).
### How it works:
- **NPN Transistor** (a common type):
- **Emitter (E)**: Emits electrons (negative charge carriers).
- **Base (B)**: Controls the current flow. A small current into the base controls a larger current between the emitter and collector.
- **Collector (C)**: Collects the current that flows from the emitter through the transistor.
- In an **NPN transistor**: when a small current flows into the base, it allows a larger current to flow from the emitter to the collector.
### Summary:
A BJT's key function is to either amplify an electrical signal (making it stronger) or switch current on and off, depending on the type of circuit it's used in. The control is done via the base current, which influences the larger currents flowing between the collector and emitter.