An ad network is a digital platform that connects advertisers with publishers, facilitating the placement of ads across websites or apps. It aggregates ad inventory, allowing advertisers to target audiences using various formats like banners, videos, and native ads, while publishers monetize their content through pay-per-click (PPC) or cost-per-mile (CPM) models.