A dryer comprising: a main body; a drum arranged in the main body for receiving an object to be dried; a driving motor configured to rotate the drum; an input module configured to receive an input from a user of a dry mode or a dehumidification mode to dehumidify humid outside air; a heat exchanger arranged in the main body; a compressor configured to produce hot air; a fan configured to form a flow path through which air flows in from outside and air having passed the heat exchanger and the drum flows out; and a controller; characterized in that the controller is configured to: - control the driving motor to rotate the drum at a first rotation speed in response to the dry mode being input, and control the driving motor to rotate the drum at a second rotation speed different from the first rotation speed in response to the dehumidification mode being input; - rotate the drum for air brought in from outside to reach an inner surface of the drum in response to receiving a command to select the dehumidification mode through the input module; - control the compressor for temperature in the drum to be the first temperature in the dry mode, and control the compressor for temperature in the drum to be the second temperature different from the first temperature in the dehumidification mode; and - generate a control signal to drive the fan in response to receiving a command to select the dehumidification mode through the input module. a main body; a drum arranged in the main body for receiving an object to be dried; a driving motor configured to rotate the drum; an input module configured to receive an input from a user of a dry mode or a dehumidification mode to dehumidify humid outside air; a heat exchanger arranged in the main body; a compressor configured to produce hot air; a fan configured to form a flow path through which air flows in from outside and air having passed the heat exchanger and the drum flows out; and a controller; characterized in that the controller is configured to: - control the driving motor to rotate the drum at a first rotation speed in response to the dry mode being input, and control the driving motor to rotate the drum at a second rotation speed different from the first rotation speed in response to the dehumidification mode being input; - rotate the drum for air brought in from outside to reach an inner surface of the drum in response to receiving a command to select the dehumidification mode through the input module; - control the compressor for temperature in the drum to be the first temperature in the dry mode, and control the compressor for temperature in the drum to be the second temperature different from the first temperature in the dehumidification mode; and - generate a control signal to drive the fan in response to receiving a command to select the dehumidification mode through the input module. - control the driving motor to rotate the drum at a first rotation speed in response to the dry mode being input, and control the driving motor to rotate the drum at a second rotation speed different from the first rotation speed in response to the dehumidification mode being input; - rotate the drum for air brought in from outside to reach an inner surface of the drum in response to receiving a command to select the dehumidification mode through the input module; - control the compressor for temperature in the drum to be the first temperature in the dry mode, and control the compressor for temperature in the drum to be the second temperature different from the first temperature in the dehumidification mode; and - generate a control signal to drive the fan in response to receiving a command to select the dehumidification mode through the input module.