Why did my computer randomly restart without warning?

my computer is a typical gaming pc/computer overheating shuldnt be a problem.
3 answers 3