how does affiliate marketing work

Affiliate marketing pays you a commission for promoting other companies’ products. You share a unique link and earn when someone makes a purchase through it.