STUN messages are sent in User Datagram Protocol (UDP) packets.
When a client has evaluated its external address, it can use this as a candidate for communicating with peers by sharing the external NAT address rather than the private address, which is not reachable from peers on the public network.