How does a Stirling Engine Work?

A Stirling engine uses cyclic compression and expansion of a gas to convert heat into work. The working gas is compressed in the cooler part of a Stirling engine, and then it is expanded in the hotter part. You can find more information here: