All definitions above are correct but I will still add my short definition.
Affiliate marketing is the process of promoting a company's product or services on your site, then you earn commission every time a person purchases or takes action on the product/service you promoted.