The domain of a function is the set of all the x terms of the function and the range of a function is the set of all the y terms of a function.
For example, take a look below.
The domain is the set of all x terms in each ordered pair and the
range will be the set of all the y terms in each ordered pair.