An affiliate program is where you usually a link to somebodies product/service where and when your visitors click on this link and purchase then you get a commission for this sale.
For example if you sell sombodies product on your site through the product owners' affiliate link, then for that particular sale you would get 50% of that sale (50% being the example for commission).
It helps having a content site for this to build targeted traffic.