How do you update the kernel?

Idk why we need to use sudo to update kernel. In macos, we don't need sudo access?