Well, it does both.
You have one part of the unit which sucks out the hot air, usually venting it outside, and another unit that chills the new air coming in, which feels cold from the vents. You ideally need both (exhaust only is called a house fan, and it doesn't work quite as well).
add a skeleton here at some point
5 days ago