in a motor, the direction of the current through the coil means one side is pushed up and the other down. the metal ring is split so with every half turn the current in the coil changes direction bc the carbon brushes lose contact with the split ring. this ensures the force on the coil always turns in the same direction and it spins