What is an affiliate network and how does it work?