While the primary use for Secure Shell is to log in to remote machines and send commands across computer networks, it can be used to transfer any type of data.
Since it’s a protocol, it can be used to develop any type of application or even another protocol. For example, SFTP was built upon FTP (file transfer protocol) to provide a much higher level of security when uploading and downloading files from a server.