> It's used for lots of interesting things, such as temperature control, motor control and positioning, and LED lighting.
A pretty slow version of this is used in your microwave or airfryer. But they typically use a temperature sense (like a bimetallic strip) to turn the heating parts on for at least a few seconds and then turn it off again; they don't use a timer.
This is known as bang-bang control.