During sleep , our brains aren't idle ; they're busily engaged in a intricate process. Research show that we cycle through various phases of sleep , each marked by unique brain waves . REM sleep sleep is when most intense dreams occur , but dreams can also happen during alternative unconscious stages . The function of dreaming is still a subject of