Alaya-vijnana - Buddhist concept - Britannica
Since that school maintains that no external reality exists, while retaining the position that knowledge, and therefore a knowable, exists, it assumes that knowledge itself is the object of consciousness.
It therefore postulates a higher storage consciousness, the final basis of the apparent individual. The universe consists in an infinite number of possible ideas that lie inactive in storage. That latent consciousness projects an interrupted sequence of thoughts, while it itself is in restless flux until the karma, or accumulated consequences of past deeds, is destroyed.
That storage consciousness contains all the impressions of previous experiences (vasanas, “perfumings”), which form the seeds (bija) of future karmic action, an illusive force that creates categories that are in fact only fictions.
That illusive force (maya) determines the world of difference and belongs to human nature, producing the erroneous notions of an I and a non-I. That duality is conquered only by enlightenment (bodhi), which transforms a person into a buddha.