A function is a rule that relates inputs to outputs.It takes elements from the domain and relates them to the codomain. It relates each element of a set with exactly one element of another set. In the graph, we see a single element of a set being mapped to different codomain. Thus, the graph does not represent a function