In simple DC and universal motors, the rotor spins inside the stator. The rotor is a coil connected to the electric power supply and the stator is a permanent magnet or electromagnet. Large AC motors (used in things like factory machines) work in a slightly different way: they pass alternating current through opposing pairs of magnets to create a rotating magnetic field, which "induces" (creates) a magnetic field in the motor rotor, causing it to spin around. You can read more about this in our article on AC induction motors. If you take one of these induction motors and "unwrap" it, so the stator is effectively laid out into a long continuous track, the rotor can roll along it in a straight line. This ingenious design is known as a linear motor, and you will find it in such things as factory machines and floating "maglev" (magnetic levitation) railroads.
Another interesting design is the brushless DC (BLDC) motor. The stator and rotor effectively swap over, with multiple iron coils static at the center and the permanent magnet rotating around them, and the commutator and brushes are replaced by an electronic circuit. You can read more in our main article on hub motors. Stepper motors, which turn around through precisely controlled angles, are a variation of brushless DC motors.
One way to overcome this situation is by using "magnetically soft" material. Magnetically soft material has atoms that readily reverse polarity (a docile herd?) when exposed to alternating current. Naturally, since the reversing process happens more quickly, there is less wasted energy.
A simple, experimental motor such as this is not capable of making much power. We can increase the turning force (or torque) that the motor can create in three ways: either we can have a more powerful permanent magnet, or we can increase the electric current flowing through the wire, or we can make the coil so it has many "turns" (loops) of very thin wire instead of one "turn" of thick wire. In practice, a motor also has the permanent magnet curved in a circular shape so it almost touches the coil of wire that rotates inside it. The closer together the magnet and the coil, the greater the force the motor can produce.