In many applications, such as when working with robotics, motors need to turn in both the clockwise and counter clockwise direction to move back and forth, and to control motors to do that it's common to use a configuration of four transistors called an H bridge.