The core compose of iron and nickel .The outer core is made of liquid iron and nickel while inner core is made of solid iron and nickel .It become solid because of the extreme temperature which makes the molecules tend to compact together.