A comparison of light rays and energies