Cyient Interview Question

How PWM and timers work?