From PCGamingWiki, the wiki about fixing PC games
Matchmaking is a feature in many games that support online play. The system looks for servers that apply to the search criteria (e.g. player skill, latency, game mode preference, ...) and automatically connects the computer to one that works best. Usually matchmaking supports multiple people looking for matches in a lobby together.