Microprocessors are built of transistors. In particular, they are constructed out of MOS transistors. MOS is an acronym for Metal-Oxide Semiconductor. There are two types of MOS transistors: pMOS (positive-MOS) and nMOS (negative-MOS). Every pMOS and nMOS comes equipped with three main components: the gate, the source, and the drain.
To properly understand how a pMOS and an nMOS operate, it is important to first define some terms:
closed-circuit: This means that the electricity is flowing from the gate to the source.