Use of field "Hosts" on section "Map users to roles"

What is the purpose of the field “Hosts” in the section “Map users to roles”?

It’s not to restrict the use of that role to a specific host because I changed to a different ip and it continue working. The documentation says “the hostname or IP the request originated from.”, so it’s only an informative field?