A Buffer represents raw binary data. Node uses buffers when working with files, network data, streams, and binary protocols.
Understanding buffers becomes important when handling uploads and non-text data.
Deep dive
Buffer and encoding
A Buffer stores bytes. Converting text to a Buffer uses an encoding such as UTF-8. Converting the Buffer back to text requires the correct encoding.