The given set is
This set represents a relation since is associating the elements of two sets.
On the other hand, this doesn't represent a function sin (5,5) and (5,6) violate the rule that defines a function, that is, an input element can't have two different outputs.