Websites can track you and can target ads and other information to you based on your online activity.

To prevent websites from doing so on your device, go to Settings then tap Safari. Scroll down and turn on the option Prevent Cross-Site Tracking. Bear in mind this won’t remove ads completely, it will just mean they won’t be able to see your previous browsing history.