The function y=f(x) is comprised of all the (x,y) points that satisfy its function rule. For example, some of the points that lie on the line y=x+3 are
(-1,2),(0,3),(1,4),(2,5).
All of the x-y pairs that satisfy an equation are the points on the corresponding graph. Thus, the solution(s) to an equation can be found using a graph.