DC machines can operate as motors or generators. They have a commutator that converts the internal alternating current to direct current at the terminals. This allows for easy speed and torque control of DC motors. While DC is no longer widely used by consumers, DC machines were commonly used in industry and transportation due to their versatility and controllability. Advances in solid-state AC drive systems have replaced DC machines in many applications. However, DC machines remain useful due to their simple drive systems and versatility in operating characteristics.