A function is a relation in which each element of the input is associated with exactly one element of the output. For example:
In this case, we have:
As we can see, the table does not represent a function because there is a value in the input set that is associated with two values in the output set.