Earth's Composition and Magnetic Field