Any device can be configured to perform routing
It is often not necessary to configure static routes on Linux servers or clients. Exceptions include traffic that must pass through an encrypted VPN tunnel or traffic that should take a specific route for reasons of cost or security.
The default gateway is for any and all traffic which is not destined for the local network and for which no preferred route is specified in the routing table. The default gateway is traditionally a dedicated network router.
Static routes are for traffic that must not, or should not, go through the default gateway.