Transmission Control Protocol (TCP) is a connection-oriented, reliable communication protocol where the data can be transmitted both ways after a link has been made.

TCP is the ideal protocol for transporting information like still photographs, data files, and web pages because it contains built-in systems to check for faults and ensure that data is sent in the order it was sent.

UDP - User Datagram protocol is a connectionless and straightforward internet protocol where error-checking and recovery services are not considered. UDP is essentially used for establishing low-latency and loss-tolerating connections

The critical difference between the protocols is that TCP is a connection-oriented protocol, whereas UDP is a connectionless protocol.

Here are the other vital differences between TCP and UDP, compiled by Manvi Tyagi - follow her on Twitter -