they are both part of the earth
The inner core of the Earth is solid and composed mainly of iron and nickel, while the outer core is liquid and also primarily made up of iron and nickel. The inner core is hotter and under more pressure than the outer core.
The inner core is located below the outer core with a reasonably higher temperature. The outer core also contains elements such as liquid iron and nickel while the inner core has others. Sorry if I am not being giving a huge amount of details.
The outer core comes before the inner core. The Earth's structure consists of the inner core, outer core, mantle, and crust. The outer core is a layer of molten iron and nickel that surrounds the solid inner core.
The inner core is more dense than the outer core. The inner core is mainly composed of solid iron and nickel, while the outer core is liquid iron and nickel. The increased pressure in the inner core makes it more compact and dense.
the two parts of the core are the inner core and the outer core