The invention provides an air conditioner. The air conditioner comprises a
refrigerant pipeline, a compressor, a condenser, a throttling device and an
evaporator, and further comprises a bypass pipeline, a dehumidifying condenser, a change-over valve and a humidifying device, wherein the compressor, the condenser, the throttling device and the
evaporator are connected on the closed-loop
refrigerant pipeline in sequence; the bypass pipeline comprises a first end and a second end; the first end and the second end of the bypass pipeline are connected on the
refrigerant pipeline between the condenser and the
evaporator; the dehumidifying condenser is connected on the bypass pipeline; the change-over valve is connected with the bypass pipeline, and used for controlling the opening and the closing of the bypass pipeline; and when the air conditioner is under a
refrigeration working state, the humidifying device can be used for humidifying air. The air conditioner disclosed by the invention can be simultaneously suitable for a low-temperature high-
humidity environment and a high-temperature
drying environment; and during dehumidifying in the low-temperature high-
humidity environment, the temperature of
indoor air is not reduced, and the
humidity in air can be compensated during refrigerating in the high-temperature
drying environment, so that the comfort of using the air conditioner disclosed by the invention by the user is guaranteed.