In affiliate programs, it’s a special URL that contains the ID or username of the affiliate. This URL is used by the advertiser to track all traffic the affiliate sends to the advertiser’s site as a part of the affiliate program.
See “How Affiliate Marketing Works” in the “Did You Know…” section of Webopedia.