In the story of King Puranjana we encounter a theme that seems to recur often in the Vedas, namely that there are three levels of consciousness – deep sleep (susupti), dreaming sleep (svapna), and the life of awakening (jagrata) – and that the soul is the witness to all of them. (SB 2.25.44)
Three levels of consciousness