You would be hard pressed to find materials that differ more. The Sun's core is a huge, hot, super dense region of plasma made up mostly of hydrogen and helium. The Earth's core is a much smaller region made mostly of relatively cool metals in a solid or liquid state.