Atmospheric inversion usually refers to an increase in temperature with increasing altitude, which is a departure from the usual decrease of temperature with height.
In other words, atmospheric inversion is a reversal in the normal temperature lapse rate, the temperature rising with increased elevation instead of falling.
Usually within the lower atmosphere (the troposphere), the air near the surface of the Earth is warmer than the air above it, largely because the atmosphere is heated from below as solar radiation warms the Earth's surface, which in turn then warms the layer of the atmosphere directly above it.
During a thermal inversion, air pollution can increase dramatically as a mass of cold air is held in place below a warmer mass of air.
The absence of air circulation prevents the pollution near the earth's surface from escaping.
Inversions are usually associated with stable, but stagnant, air conditions.