I once was asked a question about this scenario. Lets say we have an insulated box with a refrigerator in it. Now the fridge is plugged in from outside. The box is perfectly insulated. The door of the fridge is open. What happens to the temperate inside the box. their is air in the fridge. I was told that the temperature of the box will go up because we are pumping energy into it. But then I thought of laser cooling. When laser cooling happens we shoot photons into a cloud of atoms and they Doppler shift the light an absorb them and slow down. We pumped energy into that system and it cooled down. Is it always true that if I pump energy into a system that it will heat up.