We are all using PWM to create analog outputs.
These need filters to smooth them and remove ripple. But the simple RC filters are either slow or no very effective.
Here is a clever solution from Winfield Hill (of AoE fame) based on an idea from Stephen Woodward. It mere adds another RC to gain much better ripple rejection without increasing the settling time.