iOS gives advertisers the option to serve up targeted ads based on your likes and dislikes. This is done by giving your device a unique advertising identifier that provides useful information to marketers about your habits and likes. Some people don't like this behavior and while you can't completely stop targeted ads from happening, your iPhone and iPad do give you the ability to limit ad tracking.
Here's how.