Like all heat engines, Stirling engines consist of a heat source, a working fluid, and a cooling system. In Stirling engines, air or any gas is used as the working fluid, and the operating principle is based on the expansion of gases when heated and their compression when cooled. Stirling engines are classified into three types: alpha, beta, and gamma. They are also divided into two categories based on operating temperature: low-temperature and high-temperature engines.