The temperature of the Earth's core is about the same as the temperature of the Sun's surface: a mere few thousand Kelvin. Not much hotter than the tungsten filament in an incandescent light bulb. The Sun's core is some 30000 times hotter, and the plasma in a Tokamak type fusion reactor about ten times hotter still.