Mercury is the densest planet in the Solar System.