What can't you do with PWM compared to DAC

The flip of the coin is also true: there are cases where pwm is much preferred over dac.

Both are very application specific.