I was just pondering the way an air conditioner works, and I have a basic question. When the compressor compresses the gas, how does it change the volume, temperature, and pressure? Using pv=nrt, there does not seem to be a way to figure out what the proportion that temperature and pressure will increase in relation to the new smaller volume. Does one increase more than the other? Or am I way off, is volume constant and just pressure and temperature increase? Please help me clarify because my brain may explode soon.