How server message is working?

In computer networking, Server Message Block (SMB), also known as Common Internet File System operates as an application-layer network protocol mainly used for providing shared access to files, printers, serial ports, and miscellaneous communications between nodes on a network. But I do not understand that how it is working? Please anyone express me about this.
