What makes a relation a function?

Exactly one element of the domain pairs with exactly two elements of the range.
Each element of the domain pairs with exactly two elements of the range.
Exactly one element of the domain pairs with exactly one element of the range.
Each element of the domain pairs with exactly one element of the range.

Exactly one element of the domain pairs with exactly one element of the range.