An ad network is a platform that connects advertisers with publishers to facilitate the buying and selling of digital ad space. It aggregates ad inventory from publishers, matches it with advertisers' needs, and delivers targeted ads to audiences, optimizing reach and revenue through formats like CPM, CPC, and PPC.