Squirrels have excellent spatial memory and use various cues to remember where they bury their nuts. These cues include landmarks, sense of smell, and their ability to create a mental map of the area. Additionally, some studies suggest that squirrels may use a technique called spatial chunking, where they group similar locations together to remember where their food is hidden.