Steam engines run because of statistics — the particles in the machine have a predictable overall behavior, which drives the engine's piston up and down. But if you shrink the engine down to micrometer size, it'll contain far fewer particles, few enough that the behavior of each individual particle could potentially throw the entire apparatus out of whack.

So in order to construct the world's tiniest steam engine, researchers from the Max Planck Institute for Intelligent Systems had to tweak the traditional design.

Here's how it works: A Stirling engine converts heat to work through the compression and expansion of a gas-in the case of a steam engine, this gas would be water vapor. In its simplest, ideal form, the Stirling cycle is a four-step process. Imagine a cylinder filled with a gas and covered with a piston. The first two steps in the cycle decrease the pressure in the container. First, you raise the piston to increase the volume of the container while using an external heat reservoir to keep the temperature from changing. Next, the volume remains constant while the gas is cooled. The next two steps bring the pressure, temperature, and volume back to their original states. The piston is lowered to decrease the volume back to its original amount while a cold reservoir maintains the temperature. Finally, the temperature is heated back up to its original level.

If a Stirling cycle merely consisted of compression and expansion, then the work done by the piston and the work done on the piston would cancel out, and the engine would not have done any overall work. Because of the temperature changes, however, the net work done BY the piston will be positive.

Of course, not all engines are based on this exact single-cylinder structure. Another difference from the simple model is that instead of heat and cold reservoirs, they use "regenerators" to "move" heat into and out of the gas. But the basic principles of the Stirling cycle-the use of piston and gas, and the four-step process of expansion-cooling-compression-heating-remain the same in any Stirling engine.