The law of refraction, also known as Snell's law, describes the relationship between the angles of incidence and refraction when light passes from one medium to another with a different refractive index. It governs the bending of light as it travels from one transparent material to another.