Quantum electrodynamics (QED for short) was founded by Richard Feynmann and others. She explains electricity as the exchange of photons between electrons. This is how it comes to absorption or emission of photons. Feynmann explains this very well using the reflection of light on a window pane. One cannot say which of the individual photons is reflected or transmitted, one can only establish probabilities for this. This is normally 4% for glass, but it can vary between 0% and 16% depending on the thickness of the glass. The resulting probability of an event is represented here by an amplitude vector that results from the addition and multiplication of every possible path arrow. The square of this amplitude arrow is then the probability.
With these little arrows, Feynmann explains every event in the atom and also for smaller particles like quarks, etc ... Quantum electrodynamics should also be able to explain everything on a large scale, but the possibilities here are so huge that they cannot yet be calculated well.
Feynmann naturally assumes the mass and momentum of a photon. In contrast to Einstein, he also assumes faster than light. Furthermore, it is considered to be proven that antimatter runs backwards in time.