A function is a special type of relation where each input maps to exactly one output. In a relation, an input can have one or more outputs.
In Mathematics and Geometry, a function defines and represents the relationship that exists between two or more variables in a relation, table, ordered pair, or graph.
Generally speaking, a function uniquely maps all of the input values (domain) to the output values (range).
In this context, we can reasonably infer amd logically deduce that a function refers to a special type of relation in which each input uniquely maps to exactly one output. In a relation, an input can have one or more outputs.