Question: which graph represents the function?
Answer: Vertical Line test: If any vertical line intersects a graph at exactly one point then the graph represents a function otherwise not. Looking into the graphs, the vertical line intersects the graph D at only one point. Hence, graph D represents a function.