As we know, a communication system serves to communicate a message or information. This information originates in the information source.
In general, there can be various messages in the form of words, group of words, code, symbols, sound signal etc. However, out of these messages, only the desired message is selected and communicated.
Therefore, we can say that the function of information source is to produce required message which has to be transmitted.