Keith collected the names and ages of all of his classmates and organized them in the ordered pair (name, age).

Which of the following statements would be true about his information?

It is both a relation and a function.
It is a relation but not a function.
It is not a relation, but it is a function.
It is neither a relation nor a function.