As a result of the internal photoelectric effect, the number of free electrons and holes in the semiconductor increases. When an electron and a hole in a hole semiconductor approach the p – n junction, then under the action of the contact electric field of the p – n junction, the electron is transferred to the electronic semiconductor, and the hole is thrown into the layer of the hole semiconductor. Due to this separation of hole – electron pairs, the layer of the electronic semiconductor acquires a negative charge, and the layer of the hole semiconductor acquires a positive charge, i.e., a potential difference is formed between the layers.
Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.