One notable example of the second law of thermodynamics is the heat engine model. Heat engines involve a cycle of increasing and decreasing temperatures that move a piston. The second law of thermodynamics dictates the amount of work that the changing temperatures in a heat engine can produce. The law is often applied to various types of engines.
second law of thermodynamics Article