Question: what are npn and pnp transistors?
Answer: An NPN transistor has a piece of P-type silicon (the base) sandwiched between two pieces of N-type (the collector and emitter). In a PNP transistor, the type of the layers are reversed. Below is a typical cross section of a transistor.