How can I tell if a graph is a function or not?

Explain please :)

It is a function if, for every x value, there is a single y value. This one-to-one relationship may exist over a limited x domain only.