Fix grammatical flaws in the following text
EV is propelled by an electric motor which torque is produced by electromagnetic forces.
EV is propelled by an electric motor in which torque is produced by electromagnetic forces.