>>21134627It becomes liquid first, then a strange kind of hydrogen which is like liquid metal. It's unclear what lies at the core - solid hydrogen, or solid rock.
There's speculation that Mercury is the core of a gas giant which drifted close to the sun and lost its gas. Mercury is unusually dense and has a very large iron core compared to its size.