Here's why:
* Sunlight: Sunlight is composed of all colors of the rainbow.
* Scattering: When sunlight enters the atmosphere, it interacts with tiny particles like air molecules and dust. This interaction causes the light to scatter in different directions.
* Clouds: Clouds are made of water droplets or ice crystals, which are much larger than air molecules. These droplets scatter all colors of light equally, making the clouds appear white.
* Clear Sky: When there are no clouds, the only scattering happening is by air molecules. Air molecules are much smaller than the wavelengths of visible light, so they scatter blue light much more effectively than other colors. This is why the sky appears blue on a clear day.
However, even on a clear day, some scattering always occurs:
* At sunset and sunrise: When the sun is near the horizon, sunlight travels through more of the atmosphere. This means the blue light is scattered away even more, leaving behind the longer wavelengths like orange and red, which is why the sky appears red at sunrise and sunset.
* Other factors: The amount of dust and pollution in the air can also affect the color of the sky.
So, the next time you see a clear sky, remember it's because the sunlight is traveling directly to your eyes without being scattered by clouds.