Transistors

We use transistors to implement "switches" in electronic circuits.

NMOS Transistor

PMOS Transistor

This diagram may be wrong.