Eh... yeah. What the title says.
your question applies not only to SSH, but to every service built on the client/server model...ie almost all of them.
the server runs the service, the client connects to it.
your gonna have to search here, and on google for more info.