In many of his works, liszt unified contrasting moods by a process known as Thematic transformation
Thematic transformation refers to a musical technique in which the artist develops their theme of music by using a permutation, diminution, fragmentation, and augmentation.