Domain  represent values of x , while range represented by F(x)  or y function. Mostly , functions are portrayed as a set of x/y coordinates. Therefore   y-axis serving as a function of x. When we use function F(x) notation then one is  independent variable and another  dependent variable. Due to this on Y-axis F(x) represent.

Domain-and-Range

Domain and range