tpis a C program that runs independently of the SAP System. It reads and writes various files. "File" means a file in the operating system sense, not a database table.
All the filestp works with are located in a special transport directory. tp starts specific programs, some of which are C programs, some of which are special operating system commands, and some of which are ABAP programs.