Earth's layers and minerals