Answer
Mechanical energy ⇒ Electric energy
Explanation
A generator is used to produce electric energy. When he coils are made to rotate/spin, is makes the mechanical part. This coils rotates inside a magnetic fields inducing current in the coils. When current starts flowing in the coils, it forms the electrical part.
So, on the generator the energy changes are from mechanical to electrical energy.