system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: How does the Earths core keep its temperature?
gpt
It isn't keeping its temperature.  It's cooling very very slowly.  The solid inner core gets about a millimeter bigger every year.  

In about 2 billion years, it'll freeze completely solid and the Earth will lose its magnetic field.