The invention discloses an air conditioner which comprises an air duct piece, a
heat exchanger and a
heat exchanger. The oscillator comprises a shell and a partition plate, the shell comprises an air inlet and an air outlet, the air inlet is communicated with the air duct outlet, a cavity is formed in the shell, and the partition plate is movably arranged in the cavity to divide the cavity into a main flow channel and a
backflow channel; an inlet of the
backflow channel is defined between the end, close to the air outlet, of the partition plate and the shell, an outlet of the
backflow channel is defined between the end, close to the air inlet, of the partition plate and the shell, and after movement, the outlet of the backflow channel on one side in the cavity is reduced, and
airflow passes through the outlet of the backflow channel on the other side. The oscillator can replace a transverse air guide plate structure, when the partition plate does not move, the indoor steady-state
airflow organization form can be changed,
airflow direct blowing is avoided, after the partition plate moves, directional movement of airflow is achieved, the airflow flowing range is smaller, the airflow flowing speed is increased, and long-distance directional air supply is achieved.