Assuming the x-y plane, the domain is usually considered to be the span of x values covered by a function and the range is the span of y values covered by the same function
Example : Look at the graph of y = (x - 6)(x - 3) (x + 3) here :
https://www.desmos.com/calculator/6oayu1ziz8
"x" can take on any value.......so the domain is (-infinity, infinity)
And "y" can also take on any value....so the range is (-infinity, infinity)