Functions, domain and range

A function gives each input exactly one output, so $f(3)$ is the height of its graph above $x = 3$, the inputs it can take are its domain and the outputs it reaches are its range.

From Algebra 2.