A server is a computer program that provides services to other computer programs in the same or other computers. There are different types and capabilities of servers. Think about transportation. We can think of transportation as anything that can move something or someone from one location to the other.
That machine may be a dedicated server or used for other purposes as well. Server is basically give 24/7 support.
In a technical sense, a server is an instance of a computer program that accepts and responds to requests made by another program, known as a client. Less formally, any device that runs server software could be considered a server as well.
In theory, whenever computers share resources with client machines they are considered servers.
Types of Servers:
When working on a computer there are many services a computer may need and as such there are different types of servers available. We will discuss some basic server types-
Application server is responsible for storing and managing all applications between an organization’s users and its databases or backend business applications. If you have visited a bank to withdraw money, then you have accessed the bank’s application server through the services of the attending teller.
A web server is a server equipped with Hypertext Transfer Protocol (HTTP) with a unique domain name that serves web pages in response to requests submitted by clients.
A file server is a computer on a network that is used to provide users on a network with access to files.
A Computer or standalone device responsible for managing one or more printers on a network.
A proxy server will cache all pages accessed through the network allowing users who may want to visit that same page to load it faster and reduce the networks bandwidth.
A proxy is a computer server or software program that is part of the gateway server or another computer that separates a local network from outside networks.
The term database server may refer to both hardware and software used to run a database, according to the context.
A database server is a computer system that provides other computers with services related to accessing and retrieving data from a database.
Other way server provide any other service.