Does this table represent a function ,why or why not?

For this case we have, that by definition, a mathematical function is a relation that exists between two sets, through which, to each element of the starting set is assigned a single element of the arrival set.
The table shows that each element of the first set is assigned a single element of the second set, so we have a function.
Answer:
Option D