Given a scientific passage and an answer, generate a question for the given answer.

Passage: Thermal energy is converted to the kinetic energy of the moving piston inside the cylinder. The moving piston, in turn, can be used to turn a turbine or do other useful work. Answer: kinetic energy
Inside a cylinder, thermal energy is converted to what type of energy of the moving piston?