First things first: SSH is (very) simply put a secure way to access the command shell from remote servers, because all the communication is encrypted, even the password that you use to connect.
The ssh protocol also allows one to establish a tunnel for communication between two machines, which is also a secure mean of sending information (because is encrypted) or circumventing firewall restrictions in your environment.