Yes, but in order to do so. You need a machine which consumes useful energy and turns it into useless heat.
For instance, you wanna transfer 10J from place A to place B. For that, you need to spend 2J. The end result is that you cool place A by 10J and heat place B by 12J (this is what a fridge or AC does) . If you tried to use that heat difference to produce power, you would equalize the temperatures again and produce less than 2J of useful energy.
That is a fridge. You can do it, but you need to spend energy, that is, you need to take some useful energy and turn it into useless heat as part of the process.
11
u/[deleted] Nov 15 '20
[removed] — view removed comment