UDP (User Datagram Protocol) is mainly used for establishing loss-tolerating and low-latency connections between applications on the internet. It is used as an alternative to TCP (Transmission Control Protocol)
UDP randomly sends data packets or datagrams to recipients without checking for missed packets. It is used when error correction is not necessary, and speed is desirable. UDP is often used for online games and live broadcasts.