The domain of the function is the set of values of x for which the function is true.
The range of the function is the set of values of y for which the function is true.
For the function in the graph:
The domain (marked with a yellow line) are all values of x between -2 and 2, note that the endpoints of the horizontal parabola are marked with blank dots, this means that the value x=-2 is not included in the domain, you can express the domain as follows:
[tex]\mleft\lbrace x|-2The range of the function (blue line) are all values of y between -2 and 2, since both endpoints of the parabola are marked with blank dots, it means that both values of y are not included in the range, you can express it as follows:[tex]\mleft\lbrace y\mright|-2