Which layer of Earth has the highest density and temperature?

Which layer of Earth has the highest density and temperature?