I’ve been running PiHole for awhile, in short it’s your own DNS server that’s configured to block DNS requests to known advertising domains. So when you load a website and it sends a DNS request to PopularAdvertisingCompany.com to load an ad, PiHole blocks the request so the ad can’t be loaded. It’s useful for devices that you can’t put an ad blocker on, like iPhones and smart TVs and such, but can’t block stuff like YouTube ads cause they come from the same domain as the videos themselves.
It also has bonus features like DNS caching which can speed up web browsing.
You could always put it into service as a network wide ad blocker with PiHole. Might also speed up web browsing a bit too, since PiHole also works as a DNS cache.