The domain of a function is the x and the range of a function is the y.
When a question asks you to find the domain of a function or the range of a given function, you have to find all the possible x values if domain and all the possible y values if range.