condensation is a cooling process
You'll often hear condensation called a warming process, which can be confusing since condensation has to do with cooling. While condensation does cool the air inside of the air parcel, in order for that cooling to occur, that parcel must release heat into the surrounding environment.