in different parts of a car air conditioner a liquid changes to a gas and a gas changes to a liquid.

a)which of these changes causes the cooling?why?
b)describe how the air conditioner removes heat from the car's cabin.

can someone please help??thank you so much!

it takes heat to vaporize liquids, so absorbing heat means cooling the environment.

The air conditioner liquifies under the hood, and the hot liquid is cooled with a radiator. The cooler liquid flows into the cabin, where it changes to gas, absorbing heat, and the gas then flows back under the hood to the compressor.

so is it liquid change into gas cools the environment?