Ray optics describes the behavior of light through the use of light rays. When light encounters an interface between two different optical materials, the light ray will either be refracted or reflected depending on the change in density. Ray optics is useful for understanding lenses and their ability to either converge or diverge light rays, allowing for magnification or demagnification of images.