which represents a function?

Answer:
the one in the middle
Step-by-step explanation:
why because if you see the x axis when you go over it the one that has a funtion dosent have two of the same number but the one that dosent haves two of the same numbers