Can someone explain a MessageBase class for Unet?

I need a little help in sending and receiving messages. I want a brief knowledge about it which is quite precise. If someone can explain? What is the role of messages and how we can send and receive them?

Basically MessageBase is for sending and receiving messages over the network.
It sends data and u can receive it from the server or client. You can see the docmentation u will get an idea.