Creating electricity with caged atoms

A lot of energy is wasted when machines turn hot, unnecessarily heating up their environment. Some of this thermal energy could be harvested using thermoelectric materials; they create electric current when they are used to bridge hot and cold objects.