Which graph represents a function?

Answer:
the last graph
Step-by-step explanation:
it's the only one that looks correct