Here is your desired excerpt from our glossary
Function : A function is a mapping in which every element in one set is mapped to exactly one element of a second set. Most often the mapping is described using a rule. For example the function $f(x)=x+1$ maps 2 to 3 and -1 to 0.