Simplify the following text for a Grade 9 native English-speaking person.
Original: When transforming thermal energy into mechanical energy , the thermal efficiency of a heat engine is the percentage of energy that is transformed into work .
Simplified: The thermal efficiency of a heat engine is the percentage of heat energy that is transformed into work .