As the above picture you will see the cycle work.

Step 1 : Customer see the Affiliate (Link that we posted).
Step 2 : The link that customer get in will link to the Brand/Seller if customer make a decision to buy it will go to next step.
Step 3 : The Brand/Seller give the commission to Affiliate (It's mean the our link that we did)