The water from AC comes from the inside (cooling side). Water condenses on the evaporator (cooling side) and is drained to the outside.
I would not drink it, the water is contaminated by anything that gets trapped on the evaporator coils. Since this is room air the evaporator coils tend to collect all toxics inside the cooling space..
An interesting use for this condensed water is to drip it on the outside AC condensing coils. The moisture tends to increase their efficiency.
There is always water in the air, but warm air holds more water than cold air. Usually when you cool down air, there is excess water that has to come out.
I wouldn't drink water coming out of a machine. Theoretically you could make an air conditioner that made clean water (but this is a very expensive way to get clean water).
But, since your AC is a nice cool damp place (for the reason I said above) it is a perfect place for mold and bacteria to grow. In addition this is a machine that has grease and whatever materials they saw fit to put into it.
Your AC is designed for a purpose other than producing potable water.
But chemically speaking the water that first comes from the AC is just water... and probably pretty clean when it first forms into little drops and gets spoiled by the machinery around it.