Even if its the GPU or the CPU its way to hot. Something must be off..
My Asus GTX 1080 idles around 40-45 degre C, without the fans running, while gaming its around 65c.
My i7 7700k idles around 30-40 and is at 60-65 while gaming.
If your pc is that hot, you definetly need to fix that first.. :-)