system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: Why is it that humans are more likely to remember stuff we forgot to do while we’re trying to go to sleep?
gpt
Sleep is not like switching a computer off. While most of your muscles and your consciousness are disengaged your mind is in fact very active (varying between phases of REM and deep sleep).


While you sleep your short term memory is processed and integrated with your long term memory. And memory pathways are reinforced based on your recent stimuli.


Your brain's neural network is an immense series of links and new memories are gradually interlinked with your existing memories. This happens to some degree during the day but far more intensely  during REM sleep.