Data in UDP is transmitted in small packets called datagrams. Each datagram includes a source port, destination port, length, and checksum. UDP does not allow establishing a connection before sending data.