Thermodynamics is the science concerned with heat and its transformation into mechanical energy. The key concepts covered include systems, internal energy, reversible and irreversible processes, the three laws of thermodynamics, heat engines, and ideal heat engines. Heat engines convert heat into mechanical work and include steam engines, gasoline engines, and diesel engines. The maximum efficiency is obtained in an ideal or Carnot engine where all processes are reversible.