Put a rectangular loop of wire between two magnet poles with its plane along the field, and send a current through it. The current goes one way along the left side and the opposite way along the right side, so the magnetic force pushes the left side up and the right side down. Two equal, opposite forces on opposite sides of an axle make a torque, and the loop starts to turn. With N turns, each of area A, carrying current I in a field B, the torque is τ=NIABsinθ.
As the loop turns, the forces stay up and down but their lever arm shrinks. When the loop's face is square to the field (θ=0), the forces pull straight outward in the plane of the loop and the torque is zero. If the current stayed the same, the loop would overshoot, be pulled back, and rock to a stop there. The commutator, a split ring with brushes, reverses the current at exactly that moment, so the forces flip and keep pushing the loop round the same way.
A motor is a generator run the other way, and a running motor is also a generator: its spinning coil induces a back-EMF that opposes the supply. At start-up there is none, so a 6.0 V motor with 0.40 Ω windings briefly draws 6.0/0.40=15 A; at full speed, with 5.2 V of back-EMF, it draws only (6.0−5.2)/0.40=2.0 A. Compare a single straight wire in a field: it is pushed sideways once, which is plain magnetic force; a motor needs a coil, an axle and a commutator to turn that push into continuous rotation.
Think of it like this. A motor is like two friends spinning a playground roundabout: one pushes on one side while the other pulls on the opposite side, and together they make it turn. Once their sides swing past, they must swap push and pull or they will slow it down; the commutator does that swap for the current every half-turn.
Core idea. Current in a coil inside a magnetic field feels opposite forces on opposite sides, which make a torque τ=NIABsinθ; reversing the current every half-turn keeps that torque turning the coil the same way.