The domain is all input values(otherwise known as all x-values on the x-axis) and the range is all possible output values( y-values, as shown on the y-axis). Functions are expressions involving 1 or more variables, in a function x-values are only allowed 1 y-value or else it isn’t considered a function.
Hope this helps!