It could be any number of things, such as a faulty power supply, bad RAM, you're video card, the cpu overheating, dust on the internal components, an application crashing, etc. If I were to take a guess, I would say that the problem could be your power supply (had a few computers do the same thing when their PSU's started to die).