# How do electric currents make light?

In an incandescent light bulb, electrons flow through wires to the bulb, where is passes through a filament, and the filament lights up.

Does this work because of several high energy electrons losing some of their energy to disturb the electromagnetic field, creating photons? The electrons just leave the filament afterward and are replaced by more high-energy electrons from the negative terminal. Or does it work differently?

As a secondary question, is there a type of light bulb that directly converts electron flow to photons?

The filament will be made of a material with very high resistivity - such as tungsten. Tungsten has a resistivity of $52.8\ \Omega m$ and compared to a substance such as copper which is typically used for wires and has a resistivity of $1.72\times 10^{-8}\ \Omega m$ that is very high.