In geometrical optics, the path of light through lenses and prisms can be calculated using the laws of reflection and refraction where light rays

travel in straight lines. In physical optics, more attention is given to the wave nature of light as it passes through materials and accounts for effects like diffraction and interference. The phenomenon of diffraction can be readily demonstrated by illuminating a narrow vertical slit with plane waves of light.