The document discusses DC machines which can operate as either motors or generators depending on the direction of power flow. A DC machine consists of a static electromagnetic or permanent magnetic field and a rotating armature. The field produces a magnetic medium and the armature produces voltage and torque under the action of the magnetic field. An advantage of DC motors is their speed is easy to control over a wide range, while DC generators are now quite rare. Most DC machines have AC voltages and currents internally but produce DC outputs via a commutator mechanism.