While surfing the web, you may have observed that every page you visit begins to display advertisements or services that…