Also, on the pn junction, a depletion layer forms. It neither has holes nor electrons present in it. It is basically a device that acts as a door to control electric current. Semiconductors are less conductive than pure metallic conductors. Therefore, they can even resist the f...