Difference between intrinsic and extrinsic semiconductors: P-Type and N-Type

A semiconductor is a type of electrical material, which is used in electronic devices like PN junction diode, transistor and many more a replacement for a vacuum tube. The semiconductor can be intrinsic or extrinsic, where extrinsic has N-type and P-type.