Great question! In a gas-powered car the air conditioner is powered by the engine. Since the engine is powered by gas, yes, in a gas vehicle, A/C uses gas. However, electric vehicles can still have A/C. An electric car’s motor will still power your A/C, it will of course just swap gas for electricity.
Car air conditioners are a vital part of your car if you live somewhere warm and sunny. Car manufacturers know this, and they made sure that in new electric vehicle models the good old A/C system would still work, even without the benefit of gas power.