You need a DAC IC when your circuit must create a controlled analog voltage or current from digital code, and when a filtered PWM signal, a built-in microcontroller DAC, or
Digital to Analog Converter: DAC Basics
A digital to analog converter, usually shortened to DAC, is an electronic device that changes digital code into an analog voltage or current. In a control board, test instrument, MCU

