The thermocline (sometimes metalimnion) is a layer within a body of water or air where the temperature changes rapidly with depth.