An electric generator is a device that converts mechanical energy into electrical energy through the process of electromagnetic induction. It operates on the principle that when a conductor moves through a magnetic field, an electromotive force (EMF) is induced, generating electric current. This technology is fundamental for producing electricity in various applications, from power plants to portable devices.