Given the task definition and input, reply with output. Given a scientific question, generate a correct answer to it.

In a generator, work done to turn the coil is converted to what type of energy?
electric