Meta uses an auction system to determine which ads to show to which users. The system considers the advertiser's bid, the estimated action rate (likelihood of a user taking the desired action), and the ad quality and relevance. This ensures that users see ads that are most relevant to them while allowing advertisers to reach their target audience efficiently.