An important part of optical physics theory is starting with microscopic physics—the behavior of atoms and electrons—and using it to derive the familiar, macroscopic, laws of optics. In particular, there is a derivation of how the refractive index works and where it comes from, starting from microscopic physics. The Ewald–Oseen extinction theorem is one part of that derivation (as is the Lorentz–Lorenz equation etc.).