The term datagram means roughly the same thing as packet. When datagram is used, emphasis is placed on the unreliable, connectionless nature of the data transmission. The contrast is between datagram transmission on the one hand and circuit or virtual circuit transmission on the other.
One of the main uses of the word datagram is in the definition of UDP, User Datagram Protocol.