Why does the sky appear blue?

The molecules of air and other fine particles in the atmosphere have smaller size than the wavelength of visible light. These are more effective in scattering light of shorter wavelengths at the blue end than the light of longer wavelength at the red end. Thus, the blue colour is due to the scattering of sunlight through fine particles in air.