Every time when you want to grant permission for a user or group in a SharePoint application you will use this SharePoint people-picker interface.
How does people-picker work?
When you type a keyword to find a user or a group, people-piker will first make a query on the content database and if there are no results, it will make the second LDAP query on the DC. More info in this article