Message encoding
From the previous example, the sentence Person A formulates his/her opinion in their mind and utters the words through their mouth refers to the encoding of the message. In the same way, the sentence the transmitted words reach the ears of person B, who then through the center of knowledge understands the received words has to do with the decoding of the message. From that, we understand that encoding and decoding messages are very important processes of communication since coding converts the information in an acceptable form for the transmission, whilst decoding converts the received message into an intelligible language, as shown in Figure 2.1:
Almost the same process occurs in computers where the message is encoded into electrical impulses, pattern of sounds, or light waves that we (humans) interpret as bits. These bits are then received by computers that decode them into an understandable message such as a text, audio, or a video file.