UDP - Header
The header of a UDP datagram is composed of 8 bytes and contains the following fields:
You can see how simple it is, it has the source and destination port number (this is how we know for which application the data is meant), there’s a checksum and the length.
Links
https://networklessons.com/cisco/ccnp-encor/introduction-to-tcp-and-udp