You know how a freezer works? It’s the exact same but backwards. You put the cold bit where you don’t care about it getting colder and the warm bit where you want to be warmer.
Eli10, it has a gas that can condense and boil at a very cold temperature.
When something condenses it lets a little extra energy off as heat.
And when it boils it absorbs that much energy from around it making it seem colder then it was as a liquid.
A lot of organic and chlorinated gasses do this, and some alcohols.
It’s the same reason boiling water won’t get above 100°c or 212f unless it’s got impurities.
The evaporating steam absorbs all heat above that boiling temperature.
Tldr, it’s a fridge inside out.
Latest Answers