Dust blocks your fans, creates heat and lowers the performance of your hardware. If your CPU overheats it will automatically attempt to cool itself down by running slower, if it doesn't, it will just overheat and eventually turn itself off to prevent internal damage.
Try to clean your PC out at least once every 2 months, clear all the dust out of fans. Just remember you cant use a hoover!!!