Vim is (like GNU Nano or GNU emacs) lightweight. It does not need any kind of graphical interface (like x11, wayland &co).
This makes vim to a system maintainers best friend. You can use it using ssh and, this is really important, on really small devices that do not have some kind of graphical ...