Some Discord servers only use it to decorate their display name with the colors connected to the role if all roles have the same access to the permissions granted by the server admin.
On the other hand, roles can also be used to limit what your server's members can do on your server. For example, you can restrict them from banning and kicking out other server members.