encoding and decoding is the process of translating between human-readable text (like 'Hello') and the raw binary data (0s and 1s) that a computer actually stores. Since a Buffer is just a raw chunk of memory, it doesn't know what kind of data it holds until you give it an encoding rule. If no character encoding is specified, UTF-8 will be used as the default.