According to "Introductory semiconductor physics" by Greg Parker (1994; Amazon.com), a photon is produced when an electron recombines with a hole across the energy gap of a direct band-gap semiconductor.
Question: How does a light-emitting diode (LED) create photons? For example, does it exploit the creation of photons that occurs when electrons drop from an excited state to a ground state?
I would understand intuitively what is the physical phenomenon of gamma production that occurs in this case.