Language functions refer to the purposes for which language is used, such as communicating formally or informally. The tone used also depends on the function. For example, when Peter lent money to Carlos and wants it back after a month, there are polite and strong ways for Peter to phrase his request to borrow the money back, ranging from a polite question to a more demanding tone using words like "must" or a short, direct phrase.