How does the inner core differ from the outer core?

inner core and outer core of what? We could be talking about atoms, cars, subways or whatever and the answer would be different for each.