Linklists[block.settings.linklist] what happends there?

Ive just started developing in liquid and ive seen this iteration through a link list

{% assign linklist = linklists[block.settings.linklist] %}
{% for i in (0..linklist.links.size) %}

  • {{ linklist.links[i].title }}
  • {% endfor %}

    {% endif %}

    my question here is what does linklists do to the block.settings.linklist object ?

    linklists takes the navigation menu handle and returns the linklist object