What is Retargeting and how does it work?

What are display ads and how do they work?