Mach 3 is a software programme that will do the brains of what needs doing in the sense of moving the three stepper motors to what has been programmed in Mach three.
This is then fed into a drive system that will talk to your thee stepper motors.