An excerpt in the book "College Algebra by Michael Sullivan is that:
When the graph of a function is given, its domain may be viewed as the shadow created by the graph on the x- axis by vertical beams of light. Its range can be viewed as the shadow created by the graph on the y-axis by horizontal beams of light.
I did't get it and i also sought in google to get some idea but i can't find one. Can anyone help me to understand it maybe with some graphics.
Thanks.

Consider a particular point on the function. If you cast a vertical light beam through that point it would cast a shadow on the x-axis according to the x value of that point. Since the domain is the set of all possible x values of a function, imagine repeating the vertical light beams on every point on the function. Then the resulting shadow on the x-axis represents the domain. It is a set of values on the x-axis. By a similar process you can represent the range on the y-axis.