Terminal program, also known as the terminal, the terminal program itself does not participate in the calculation, the terminal program only provides a means of remote access, you can log in to the remote system, using the cpu, memory and other resources of the system for calculation.
That is to say, you can remotely log in to the server side, run the server-side program, and feed the intermediate results back to the program on your monitor.
For example, using Telnet, you can log in to a router or switch and interact with it through the command line. On the remote desktop in windows, you can log in to another windows machine for remote operations. Having said so much, I hope you can understand. Again, the terminal program is not the client, there is a difference between the two.