TCP vs UDP Protocol
Protocol A set of rules for formatting and processing data, which allows devices to communicate with each other called a protocol. Protocol types: HTTP, TCP, UDP, SMTP, FTP, Telnet, POP3, etc.

TCP vs UDP
TCP Protocol
TCP means Transmission Control Protocol.
It is reliable.
Connection-oriented, which ensures accurate order to data transfer.
It is guaranteed to ensure data correctness, but it is slower than UDP.
Uses the three-way handshake method.
Real - life uses: chat, YouTube Live, Cricket Live.
UDP Protocol
UDP means User Datagram Protocol
It is faster than TCP. connectionless.
It is not guaranteed to ensure data correctness and accurate order to data transfer.
It is effectively used for speed.
Real-life uses: video call, Google Meet, Zoom
Both are transport layer protocol which is used to end to end comuncation between applications

