Heat engines transform thermal energy into mechanical work, primarily through processes like combustion. Their efficiency is calculated based on the relationship between useful work done and the heat supplied. Understanding this concept is fundamental in thermodynamics and practical applications.