(a) An electric motor works on the magnetic effect of current.
(b) An electric generator works on the phenomenon of electromagnetic induction.
(c) An electric motor converts electrical energy into mechanical energy.
(d) The electric motor works on the principle of Fleming's left-hand rule. It states that when an electric current is passed through a conductor placed in a magnetic field, it experiences a force in a direction perpendicular to the direction of both the electric field and magnetic field. That force moves the coil of the electric motor, and that's how electric energy is converted into mechanical energy in an electric motor.
(e) An electric generator works on the principle based on Fleming's right-hand rule. Which states that when a coil of insulated copper wire is forced to rotate inside a magnetic field, then electric current is induced. That's how an electric generator converts mechanical energy into electrical energy.