Yoga Sutras 4.9
Patanjali, explained by Swami Vivekananda
जाति-देश-काल-व्यवहितानामप्यानन्तर्यं स्मृतिसंस्कारयोरेकरूपत्वात् ॥
jāti-deśa-kāla-vyavahitānāmapyānantaryaṃ smṛtisaṃskārayorekarūpatvāt
There is consecutiveness in desires, even though separated by species, space, and time, there being identification of memory and impressions.
In plain words: Desires carry on from one life to the next, even across different bodies, places and times. They continue because memories and deep impressions are passed along.
Swami Vivekananda explains
Experiences becoming fine become impressions; impressions revivified become memory. The word memory here includes unconscious co-ordination of past experiences, reduced to impressions, with present conscious action. In each body, the group of impressions acquired in a similar body only becomes the cause of action in that body. The experiences of a dissimilar body are held in abeyance. Each body acts as if it were a descendant of a series of bodies of that species only; thus, consecutiveness of desires is not to be broken.