What are the uses of a mail server?

The primary uses of a mail server are to send and receive messages for its users.