Scattering is an optical event, where the direction of incident light rays changes when they travel through a medium due to the continuous collision between the particles.
The intensity of scattered light is defined by the form, , where A is a constant and is the wavelength of the light. This scattering is called Rayleigh scattering.
Scattering of light in the air:
Air is a mixture of gases(O2, N2, H, etc), smoke, dust, and other particles.
Light is scattered in the air by collisions of air(gas) - light(photons) molecules.
When the rays of light fall on these molecules or particles, these rays are split in all directions.
The blue color of our sky is one of the most important examples of the scattering of light by air.
Other example of Rayleigh scattering:
Rayleigh scattering in optical fibre: The transmitted light scatters through the fibre due to the presence of inhomogeneities and imperfections during their creation.
Optical fibre is made up of irregular connections of molecules, so the molecular density at some regions is higher and at other regions is lower.
Thus, refractive index varies resulting in scattering of light.