The difference between these two diagrams is that the sequence diagram is based on time and shows tasks in chronological order; The communication diagram shows the interaction between tasks and information (objects). In communication, time is displayed in coded form, which is difficult to choose.
Despite these basic differences, these two types of diagrams have something in common: they are both used to show how objects and users interact to perform tasks.