Affiliate Marketing is marketing for other peoples product and earning a commission in return for your effort.
usually this marketing is done via email campaigns or through your own website or blog where you will promote the affiliate product and once some interested person click on the product and purchase it you will get the commission for that. the tracking is done by the affiliate software which the product owner implements in their affiliate program.