A hole is not the result of a charge-neutral atom losing an electron. A hole is created when an "acceptor" atom is located in a silicon crystal but that atom does not have as many electrons available for bonding as do the silicon atoms. Silicon atoms bond by sharing a pair of electrons, each atom contributes one electron to the bond. The acceptor atom leaves one bond unfilled, and it's that unfilled bond that constitutes the hole. Note that although this hole exists the atoms are completely charge-neutral. It's easy for a wandering electron to get stuck in the hole, and when that happens the acceptor atom actually has one more electron than it normally would...thus it has become a negative ion. The captured electron came from somewhere...some atom that was also previously charge-neutral...so that atom has become a positive ion. Since we have an immobile negative ion and an immobile positive ion, an electric field exists between them.
As holes are filled with wayward electrons the e-field increases in strength until it prevents any more movement of electrons. At this point the depletion region has been created. This region is depleted of free (mobile) charge carriers but the impurity (non-silicon) atoms are ionized.
I've mentioned silicon but the same thing can be done with some other materials, such as germanium and gallium-arsenide.
In hole movement, the particles that are moving are still electrons. When an electron moves to the conduction band (i.e. at any temp above 0 K), there is an empty state that is created in the valence band that was originally occupied by the electron. This empty state is the hole. If another electron from the valence band moves to occupy this hole, it creates another hole one atom over. A chain of such electron movements could be thought of as a hole moving.
I think this is simplifying things quite a bit, but it gets the gist, and I don't really understand the more advanced version. :)
Edit : Actually, I'll try to include the advanced version, by just quoting from the excellent Daniel Mittleman from this awesome thread on the very related topic of 'Are holes real?', since most people probably can't access that thread.
... no such thing as a lone electron or, ... a lone hole - inside any solid. Any charged particle will interact with all of the other electrons, and nuclei, in the solid ...
... [With] These interactions .. taken into account ... One ends up describing what are called 'quasi-particles', which are excitations of the solid that, in some way, resemble a lone electron or a lone hole ...
It is not just semantics - [electrons and holes] are both equally real excitations of the many-body state of the solid.
So, while the simple picture generally enough for getting the drift of things, there's more beyond it, and there's a bit more to holes than just the absence of electrons.
Best Answer
The junction is the area of the diode in the center where the P and N regions meet. In a silicon diode current is blocked at the junction if the voltage is reversed and typically for a forward voltage, the junction develops a .67 voltage drop. For any forward voltage greater than .67 volts, the junction conducts current.The P and N regions are always conductive within them selves, the junction conducts in one direction only.
Quote https://wiki.analog.com/university/courses/electronics/text/chapter-5: