 Programmers frequently apply functions to results of other functions, and almost all programming languages allow it.In some cases, the composition of functions is interesting as a function in its own right, to be used later.Such a function can always be defined but languages with first-class functions make it easier.