Air-conditioning system doesn't use gasoline directly, but it does affect your engine's fuel consumption. The heart of the system is the compressor which relies on your engine's drive belt to run. Running the belt increases the load on the engine, leading to an increase in fuel consumption. Some research suggests it can increase it by about 20% but most of the time you won't notice it.