So if we look at the OSI model compared with the TCP model, they don't quite line up but they are more or less the same concepts. So this diagram shows the two side by side and so you can see that the for example in TCP/IP, the application is responsible for the application and presentation and the session functions. The transport in TCP transport protocol does the transport and possibly a bit of the session layer functionality as well but the two do line up more or less side by side.

© Produced by Philip Smith and the Network Startup Resource Center, through the University of Oregon.

Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)
This is a human-readable summary of (and not a substitute for) the license. Disclaimer. You are free to: Share — copy and redistribute the material in any medium or format Adapt — remix, transform, and build upon the material The licensor cannot revoke these freedoms as long as you follow the license terms. Under the following terms: Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use. NonCommercial — You may not use the material for commercial purposes. No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.