Light is a form of electromagnetic energy that travels as waves and can be reflected and refracted. It is made up of a spectrum of different wavelengths that correspond to different colors. When light passes from one medium to another, it undergoes refraction as the direction of the wavefront changes. Visible light is dispersed by prisms into its constituent colors from red to violet due to differing wavelengths bending different amounts. The sky appears blue due to the scattering of shorter wavelengths while our eyes' sensitivity to blue contributes to this perception.