Light reflects back and forth in a resonant cavity.