Question: how pnp and npn transistors work?
Answer: The main difference between the NPN and PNP transistor is, an NPN transistor turns on when the current flows through the base of the transistor. In this type of transistor, the current flows from the collector (C) to the emitter (E). A PNP transistor turns ON, when there is no current at the base of the transistor.