PWM in itself is a form of DAC, but instead of converting a binary value, you (the motor in this case) are converting duty cycle to an average voltage that the load will see. A PWM switch ( the MOSFET in this case) must switch from fully on to fully off and spend a minimal time in between.