A server is a computer system or program that handles the storage and distribution of emails from one mailbox to another. It is also responsible for relaying email across servers within a network.