Why does the sun appear red at sunset ?

During the sunset the sun and the surrounding appears to be red, the reason is, at that time most of the blue color present in sunlight has been scattered out and away from our line of sight, leaving behind mainly red color in the direct sunlight beam that reaches our eyes.