What happens to Kernel Extensions when macOS is reinstalled?

The kernel extensions stuck around.

...was what happened. (not reformatting the drive)