Communication diagrams and sequence diagrams are both UML interaction diagrams, which can be transformed into each other, have similar responsibilities, are message-driven, and have sequentiality.
However, there are also obvious differences. Communication diagrams express the cooperation relationship between objects, while sequence diagrams express the time sequence of messages occurring between objects.