The planetary core is the innermost layer or layers in a planet. The terrestrial planets (planets with a rocky surface) have a core mainly made of iron and could be a solid or a liquid layer. The Earth's core is partially liquid, while the cores of Mars and Venus are thought to be completely solid, because the cores do not make a magnetic field.