The reason the can gets cold after being used is due to a process known as adiabatic cooling a property of thermodynamics.
Why is compressed air so cold.
Eventually your hand gets cold.
Anyone who has ever made use of the compressed air can knows that it can get icy cold.
Some of you might falsely believe that this happens because the gas expands upon coming out of the can and thus cools off.
Compressed air cylinders are required to be kept out of direct sunlight to avoid gas expansion by direct heating and perhaps also due to phase change although no one seems to mention this explicitly.
Minutephysics knows the actual reason why compressed air cans become so cold and will explain it.
A gas initially at high pressure cools significantly when that pressure is released.
In fact it can become so cold that the cans feature frostbite warnings.
It creates a tornado or vortex of compressed air that separates the fluid into two air streams.
Travelling along this pressure gradient the gas expands and does work and this removes energy from the gas.
A fluid such as water or air that rotates around an axis like a tornado is called a vortex.
However that is not true.
This is perhaps why compressed air cylinders feel cold even before use.
Cans of compressed air get cold while they re discharging because of a thermodynamic principle known as the adiabatic effect.
When you pressurize a gas by compressing it into a container you re putting all those molecules into a smaller volume of space and you re adding potential energy by the compression.