When discussing display advertising, what is an ad network?

Here is the answer of the question: When discussing display advertising, what is an ad network?

A way to get free traffic to your site
A directory of lots of websites that sell the same products as you do
An online store of images you can use within your content
A platform allowing the advertiser to advertise on websites within the network