Why your computer restarts frequently while running or not running any application?

It could be a hardware failure or driver issue that is causing your operating system to crash and burn. Another thing that causes this is overheating. Make sure you clean your CPU fan, VideoCard, etc. from excess dust.