The center of the Earth is composed primarily of iron and nickel, and is extremely hot and dense. The innermost layer of the Earth is known as the inner core, and it is solid. Surrounding the inner core is the outer core, which is liquid. The temperature at the center of the Earth can reach up to approximately 5,700 degrees Celsius (10,232 degrees Fahrenheit), and the pressure is immense, reaching millions of atmospheres. The extreme conditions at the Earth's center contribute to the generation of the Earth's magnetic field.