Why the Sky is Blue:
* Rayleigh Scattering: Sunlight, which contains all colors of the rainbow, enters the Earth's atmosphere. The shorter wavelengths of light (blue and violet) are scattered more easily by the tiny particles in the atmosphere (nitrogen and oxygen molecules) than the longer wavelengths (red and orange).
* Scattered Light: This scattered blue light reaches our eyes from all directions, making the sky appear blue.
Why the Sun is Yellow:
* Absorption and Scattering: While all colors of sunlight enter the atmosphere, blue and violet are scattered away by the air molecules. This leaves the remaining colors, primarily yellow, red, and orange, to reach our eyes directly from the sun.
* Human Perception: Our eyes are most sensitive to yellow-green light, so we perceive the sun as primarily yellow, even though it emits all colors of the rainbow.
Additional Factors:
* Time of Day: The sun appears more reddish-orange at sunrise and sunset because sunlight travels through more atmosphere, scattering away even more blue light.
* Clouds: Clouds can reflect sunlight, making the sky appear white or gray.
* Pollution: Air pollution can also scatter light, making the sky appear hazy or grayish.
In Summary:
The blue sky and yellow sun are a result of the way sunlight interacts with the Earth's atmosphere. Blue light is scattered more effectively, giving us a blue sky, while the remaining colors, including yellow, reach our eyes directly from the sun.