(In wireless sensor networks, time synchronization is very necessary. However, due to the limited battery power, storage and bandwidth limitations of wireless sensor networks, traditional time synchronization algorithms cannot be adapted to sensor networks. Several time synchronization algorithms specially used in sensor networks are compared, and the advantages and disadvantages of various algorithms and the limitations of the use environment are compared)