Through unique tracking links that identify the affiliate, affiliate marketers drive traffic to merchants' web sites. When a sale or lead is generated from the traffic driven by the affiliate's marketing efforts the merchant pays the affiliate a commission. It is a win/win situation for both the affiliate and the merchant.
Below is a link to learn more about affiliate marketing:
White paper discussing online affiliate marketing.