The Carnot cycle is a theoretical thermodynamic cycle proposed by Nicolas Léonard Sadi Carnot in 1824 and expanded by others in the 1830s and 1840s. It can be shown that it is the most efficient cycle for converting a given amount of thermal energy into work, or conversely, creating a temperature difference (e.g. refrigeration) by doing a given amount of work.One of the great virtues of the Carnot cycle is its potential applicability to any working substance.The Carnot cycle for a photon gas provides a very useful tool to illustrate the thermodynamics laws and it is possible to use for introducing the concepts of creation and annihilation of photons in an introductory course of physics.