The domain refers to the set of possible input values, the domain of a graph consists of all the input values shown on the x-axis. The range is the set of possible output values, which are shown on the y-axis.
It can be observed that the graph extends horizontally from (-∞,∞), along the x axis. So the domain of the function shown in the graph is (-∞,∞).
Also we observe that the graph extends vertically from (-∞,∞), along the y axis. So the range of the function shown in the graph is (-∞,∞).
That means an infinite number of values are part of the function. For this function, there are no restrictions to the domain and range.