An air conditioner having an absorption unit with a box and a fan unit is revealed. The box is disposed with a ventilation unit and loaded with absorbing material used as desiccant/deodorant. An exhaust hole of the fan unit is communicated with the ventilation unit of the absorption unit. For removing moisture or odors, air outside is drawn by the fan unit and blown into the absorption unit by the ventilation unit. After moisture or pollutants being absorbed by the absorbing material, the air is exhausted by through holes of the box. The fan unit is switched to a heating mode when the absorbing material is saturated with moisture or pollutants. Then air outside is heated by an electric heating unit of the fan unit and is delivered to the absorption unit for drying the absorbing material or baking out the pollutants. Thus the absorbing material is reactivated.