The complete reflection of a light ray back into a denser medium when it strikes the boundary with a rarer medium at an angle greater than the critical angle.
Total internal reflection, the critical angle, optical fibres, mirages, and the sparkle of diamonds are recurring optics facts, and optical-fibre communication links to secure data networks.
It happens only going from a denser to a rarer medium, and only above the critical angle; ordinary partial reflection happens at any angle. A mirage is caused by refraction through air layers leading to total internal reflection, not by an actual water surface.
Light striking a denser-to-rarer boundary beyond the critical angle reflects fully back; this powers optical fibres and explains diamond sparkle and mirages.