Nearly everyone has experienced the strange sensation of walking into a room and instantly forgetting why they went there.