The function of a modifier is to insert descriptive language into a phrase, either immediately before or immediately after the words that it is modifying. As an illustration, the following is one example of how the word alone can change a sentence:
They played once.
They only played once.