Pulse Width Modulation is one of the important functions of timer. PWM is a technique to control analogue circuits with digital output from microcontroller.
As you all know that an Analogue signal is the one whose value varies continuously with time whereas digital signals can only be either high or low.