Stepper motors are often used for positioning since they are cost-effective, easy to drive, and can be used in open-loop systems—meaning that they don’t require position feedback like servo motors.
It’s little secret that stepper motors are everywhere in FDM 3D printers, but there’s no real reason why you cannot take another type of DC motor like a brushless DC (BLDC) motor and use that instead.