What is a Temperature Inversion?

When you increase altitude, the temperature of the air usually becomes cooler the higher you go. In temperature inversion, there is warm air above the cool air. In this case, the temperature is opposite or inverted compared to what it normally is.