Domain: It is in the independent variable (x) and it can be explained as all the possible x values that are gonna make the function work and will output real y values
Range: It is in the dependent variable (y) and are all the resulting variables of the y values after we substituting all the x values