Connecting a p-type semiconductor to plus, and n-type to minus is called direct. Electrons will move from region n, and holes will move from region p under the action of an electric field. The layer with a low concentration of charge carriers will decrease, respectively, the resistance of the semiconductor will decrease, and the current will be significant. When connected back, the main charge carriers will move from the place of their contact; the area with a low concentration of charges will expand, its resistance will increase. A blocking layer is formed.
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.