Air conditioners cannot replace air purifiers absolutely, but they can filter the air to some extent. However, an air conditioner cannot filter out smoke or some other hazardous elements in the same manner as an air purifier can.