Another diagram describing the scattering of light by the gases in the atmosphere is provided in this link.