An ad network is a platform that connects advertisers with publishers, facilitating the buying and selling of ad space. It aggregates available inventory from multiple websites, enabling advertisers to reach a broader audience, while publishers monetize their content through ads such as display, native, or video formats.