Temporal motifs are recurring, significant patterns in time-stamped data that reveal the underlying structure and dynamics of temporal networks. They help in understanding the temporal evolution of networks by identifying sequences of events that are statistically significant and often repeated over time.