The sunlight that we see is a type of electromagnetic radiation that is emitted by the Sun. Known as theย visible light, it looks white but is composed of colors of different wavelengths, with violet having the shortest wavelength and red having the longest.
Due to Rayleigh scattering, most of the light of shorter wavelengths โ the blue, violet, and green โ are scattered away multiple times, leaving only lights of longer wavelength โ the red, orange, and yellow โ to pass straight through to the observer.