It looks like a Stirling engine : Perfect on paper but no real world application. Reddit comments seem to agree.
However, it really looks like magic. Must have been really fun to build.
While there are plenty of toy Stirling engines, they do have real world applications. They are used as heat pumps in cryocoolers, and there are even variants with no moving parts, the Thermoacoustic Sterling Cryocooler.