how it's applied to cooling: when a liquid goes to a gas, it takes in heat. so when the coolant flows through the capilary, it goes into an area with lower preasure, allowing it to boil. in boiling, it goes from liquid to gas, taking in heat. then in the compressor, it gets back to a higher preasure area, causing it to condense back into a liquid, in the condensor coils. then it goes back to the capilary, and repeats the process.