A datagram is a self-contained, independent unit of data carrying enough information to be routed from a source to a destination without prior establishment of a connection. It travels across a network like a letter in an envelope, its journey often unbound by a persistent session.