The protocols of the TCP/IP model have a significant advantage: They operate independently of the hardware and the underlying software. The protocols are standardized to work in any context, no matter which operating system you use or which device you use to communicate over the network.
The protocols comprise layers 3 and 4 of the OSI model. The transport and link layer are directly responsible for connecting two devices in a network. For example, the IP address and the Internet Protocol are used to send the data packet to the correct recipient. TCP, on the other hand, is responsible for establishing a connection between the two devices and maintaining the connection for data transmission. If the data packet transmission is unsuccessful, the protocol will attempt to resend the packets.