https://medicalxpress.com/news/2024-01-memories-brain-role-internal-compass.amp

I think this is so interesting-- maybe that's why when I wake up from a dream and switch positions, I can't pick the same dream back up or the energy/intensity is different.

How memories are formed in the brain: A new role for the internal compass

Since their discovery in the 1990s, the head-direction cells in the brain have been referred to as its "internal compass." These cells are activated when the head of an animal or human points in a certain direction, and are thought to be important for spatial orientation and navigation.