This higher-order function takes two arguments, a function and a sentence or word; it uses the function to combine the elements of the sentence or word