Atmospheric scattering is the deflection of light by particles and gases in Earth's atmosphere, which causes phenomena such as the blue sky and red sunsets. It occurs because different wavelengths of light are scattered by different amounts, with shorter wavelengths (blue and violet) being scattered more than longer wavelengths (red and yellow).