When light is treated in terms of ray of light then it is known as ray optics

Ray optics is valid only if the size of the opaque object in the path of light is much bigger than the wavelength of light.