A function is a mapping from one set to another set , such that each element x in the domain of has exactly one element of the Codomain in set . functions only return one output.