Air conditioners consume a large amount of electricity, which is usually generated by burning coal. Coal mining is an environmentally-detrimental operation. Then, when the coal is burned, it releases greenhouse gases which, in turn, creates acid rain.
The refrigerant chemicals inside of air conditioners can destroy the ozone layer when released. Old air conditioners are usually taken to the dump where the cooling coils usually get punctured and the chemicals are released.