A dehumidifier works by condensing moisture from the air, resulting in the water you can pour into the drain. An exhaust fan uses fans to blow moist air to the outside and replaces it with outside air through circulation.