As humans and other animals navigate their surroundings and experience different things, their brain creates so-called cognitive maps, which are internal representations of environments or tasks.