Diodes: the easiest kind of semiconductor gadgets. Since diodes are semiconductors, before we examine about diodes, we should realize what semiconductors are. In wide terms, a semiconductor is ordered between being a conveyor and a non-transmitter of power as it does power better compared to non-channels however worse than conduits of power. Most semiconductors are created by having pollutants; which are iotas of another material added to them. This interaction is alluded to as doping.
Extra particles in doped materials change the equilibrium by either adding free electrons or making openings where the electrons can go. These changes can make the material more conductive. Semiconductors that are modified to have additional electrons are called N-type material. In this example, free electrons can move from an adversely charged territory to an emphatically charged zone. Semiconductors that have additional openings where the electrons can go are alluded to as P-type material as it has extra emphatically charged particles. Electrons in these materials can hop from one opening to another, moving from a contrarily charged region to an emphatically charged region.
A 2CL2FM is made out of both, a N-type material which is attached to a segment of P-type material and has terminals which are known as anode and cathode at each end. This game plan conducts power just one way and would not permit any stream the other way. On the off chance that no voltage is being applied to the diode, the electrons from the N-type material would move over and fill the openings in the P-type material. Consequently shaping a consumption zone in which the semiconductor is gotten back to a state where it goes about as a separator as every one of the openings are loaded up with no free electrons which keeps charge from streaming.
Presently since the diode is going about as an encasing, how would you get it to direct power? This can be accomplished on the off chance that you can get electrons to move from the N-type zone to the P-type territory and the openings the other way. To do this, you interface the N-type zone of a diode to the negative terminal of a battery and the P-type territory to the positive end. The negative end would repulse the free electrons while the positive finish of the battery would draw in them. The equivalent would occur for the openings in the P-type territory. On the off chance that the voltage distinction between the terminals is sufficiently high, it would push the electrons and the openings out of their zone and get them to move unreservedly. This would wipe out the exhaustion zone and with the electrons moving openly and having the option to lead charge. If you somehow happened to attempt to associate the P-type territory to the negative terminal of a battery and the N-type region to the positive terminal of the battery, it would build the exhaustion zone as the openings and electrons would be pulled in to the contrary energies. No current would have the option to stream and now the diode would go about as a protector rather than a conductor.