Explanation:
Look at the picture.

Function? NOT, because for x∈(3, 5) the relation has two values of y.
The vertical line test.
If the vertical line you drew intersects the graph more than once for any value of x then the graph is not the graph of a function (picture 2).