If the warm air rises high enough, the air will eventually cool to its dew point. When it cools to its dew point, it begins the process of condensation. Starting from here, as air rises, the heat of condensation stored in water vapor will gradually release.