The sky is the upper part of the earth's surface, and is classified as a separate layer called the atmosphere. The sky consists of many gases and air, with different compositions in each layer. The sky often appears blue in the morning as well as during the day, because the air refracts blue light from the sun more than the red light. The sky can change color under certain conditions, such as red when dusk or black when it rains.