It is a relation in which each valid input results in one output. the domain is the set of valid inputs (x-values), and the range is the set of resulting outputs (y-values
What you’ve written is the definition of a function; each input results in one output ONLY Whereas in a relation an input may result in more than one output