Quantum electrodynamics (also called QED for short) is the quantum theory of electricity and magnetism. QED describes how electric and magnetic forces work on the scale of things smaller than atoms. QED also describes how single photons of light behave. QED is one of the most well-tested theories in physics.