In mathematics, a caustic refers to acurve or surface that is generated by the envelope of light rays refracted or reflected by asurface, such asalens or mirror. The term is often used in optics, particularly in the study of how light behaves when it interacts with curved surfaces.