Thermal inversion is a meteorological phenomenon where the temperature increases with altitude in the atmosphere, contrary to the usual decrease in temperature with height. This occurs when a layer of warm air traps cooler air below it, often leading to smog and pollution accumulation near the surface. It is particularly important for understanding air quality and weather patterns.