Mirage is an optical illusion caused by total internal reflection of light in the Earth's atmosphere due to temperature variations.