Mirage is an optical phenomenon caused by the total internal reflection of light from distant objects. When light passes from cold air (denser) to hot air (rarer), it bends away from the normal and undergoes total internal reflection, thus causes an illusion to the observer that, light is coming from the ground.