Why does hot air come out of a dehumidifier?

Warm air is released as a byproduct of the cooling process.