In mathematics, function<span> composition is the pointwise application of one </span>function<span> to the result of another to produce a third </span>function<span>. ... Intuitively, </span>composing two functions<span> is a chaining process in which the output of the inner </span>function<span> becomes the input of the outer </span>function<span>.</span>