A computer which provides resources like data, service, program, etc to other computers called clients is called a server.
In a system,if any computer is providing any service, it will caller the server for that particular service. One computer can be a server and a client both at the same time.